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

Commit 5f2fc11

Browse files
committed
Sort new keywords at the front
1 parent b34029a commit 5f2fc11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
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)