From f42b5831bb831e3b9f925730477a27e01d2b33f4 Mon Sep 17 00:00:00 2001 From: Chenyu Huang Date: Fri, 8 Aug 2025 16:10:35 -0700 Subject: parameterize the initial profile for starter pack profile select wizard screen --- src/components/StarterPack/Wizard/WizardEditListDialog.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/components/StarterPack/Wizard/WizardEditListDialog.tsx') diff --git a/src/components/StarterPack/Wizard/WizardEditListDialog.tsx b/src/components/StarterPack/Wizard/WizardEditListDialog.tsx index 731323f7f..7c3d1a40a 100644 --- a/src/components/StarterPack/Wizard/WizardEditListDialog.tsx +++ b/src/components/StarterPack/Wizard/WizardEditListDialog.tsx @@ -48,7 +48,6 @@ export function WizardEditListDialog({ }) { const {_} = useLingui() const t = useTheme() - const {currentAccount} = useSession() const initialNumToRender = useInitialNumToRender() const listRef = useRef(null) @@ -56,10 +55,7 @@ export function WizardEditListDialog({ const getData = () => { if (state.currentStep === 'Feeds') return state.feeds - return [ - profile, - ...state.profiles.filter(p => p.did !== currentAccount?.did), - ] + return [profile, ...state.profiles.filter(p => p.did !== profile.did)] } const renderItem = ({item}: ListRenderItemInfo) => -- cgit 1.4.1