remove unused code, add todo comment

This commit is contained in:
Samuel Newman
2025-04-17 18:52:56 +03:00
parent 35695ba1da
commit 7c1f264739
@@ -99,12 +99,10 @@ function DialogInner({
} else if (isEmpty) {
_items = _items.concat([EMPTY])
} else if (data) {
// TODO: Add starter packs! -sfn
const curateLists = data.filter(
list => list.purpose === 'app.bsky.graph.defs#curatelist',
)
const starterPacks = data.filter(
list => list.purpose === 'app.bsky.graph.defs#referencelist',
)
const modLists = data.filter(
list => list.purpose === 'app.bsky.graph.defs#modlist',
)
@@ -118,16 +116,6 @@ function DialogInner({
curateLists.map(list => ({type: 'list', list})),
)
}
if (starterPacks.length > 0) {
_items = _items.concat(
{
type: 'section-header',
title: _(msg`Starter packs`),
_reactKey: 'referencelist',
},
starterPacks.map(list => ({type: 'list', list})),
)
}
if (modLists.length > 0) {
_items = _items.concat(
{