diff options
Diffstat (limited to 'src/components/StarterPack')
-rw-r--r-- | src/components/StarterPack/ProfileStarterPacks.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/StarterPack/ProfileStarterPacks.tsx b/src/components/StarterPack/ProfileStarterPacks.tsx index 73aee28f4..bbe0bc52b 100644 --- a/src/components/StarterPack/ProfileStarterPacks.tsx +++ b/src/components/StarterPack/ProfileStarterPacks.tsx @@ -214,7 +214,7 @@ function Empty() { onError: e => { logger.error('Failed to generate starter pack', {safeMessage: e}) setIsGenerating(false) - if (e.name === 'NOT_ENOUGH_FOLLOWERS') { + if (e.message.includes('NOT_ENOUGH_FOLLOWERS')) { followersDialogControl.open() } else { errorDialogControl.open() |