Use more beautiful quotes

This commit is contained in:
Lim Chee Aun 2024-01-20 01:45:36 +08:00
parent 38e2b176bc
commit a352f94c2c

View file

@ -170,7 +170,7 @@ export const SHORTCUTS_META = {
}, },
search: { search: {
id: 'search', id: 'search',
title: ({ query }) => (query ? `"${query}"` : 'Search'), title: ({ query }) => (query ? `${query}` : 'Search'),
path: ({ query }) => path: ({ query }) =>
query query
? `/search?q=${encodeURIComponent(query)}&type=statuses` ? `/search?q=${encodeURIComponent(query)}&type=statuses`