Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit b70432c

Browse files
committed
Sort new keywords at the front
1 parent 4db41a7 commit b70432c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/views/settings/notifications/NotificationSettings2.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ export default function NotificationSettings2(): JSX.Element {
315315
onAdd={(keyword) => {
316316
reconcile({
317317
...model,
318-
keywords: [...model.keywords, keyword],
318+
keywords: [keyword, ...model.keywords],
319319
});
320320
}}
321321
onRemove={(keyword) => {

0 commit comments

Comments
 (0)