diff options
author | Hailey <me@haileyok.com> | 2024-06-24 15:43:52 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-24 15:43:52 -0700 |
commit | bce3338a0236cdce2ef620c1f344b077390df0f5 (patch) | |
tree | 5c0eea5213d5f51693239fbfa4ac9a5371ec86fd /src | |
parent | ffb67397e7106dce1e05fe86af0d8db12a1991f3 (diff) | |
download | voidsky-bce3338a0236cdce2ef620c1f344b077390df0f5.tar.zst |
use `.push` instead of `.concat` (#4624)
Diffstat (limited to 'src')
-rw-r--r-- | src/screens/Onboarding/StepFinished.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/screens/Onboarding/StepFinished.tsx b/src/screens/Onboarding/StepFinished.tsx index c7a459659..9613ce660 100644 --- a/src/screens/Onboarding/StepFinished.tsx +++ b/src/screens/Onboarding/StepFinished.tsx @@ -110,8 +110,8 @@ export function StepFinished() { // Any starter pack feeds will be pinned _after_ the defaults if (starterPack && starterPack.feeds?.length) { - feedsToSave.concat( - starterPack.feeds.map(f => ({ + feedsToSave.push( + ...starterPack.feeds.map(f => ({ type: 'feed', value: f.uri, pinned: true, |