Ugh need to be '+' instead of spaces

This commit is contained in:
Lim Chee Aun 2023-02-25 14:58:11 +08:00
parent 2b25fc67cf
commit f7b398e078

View file

@ -140,7 +140,7 @@ export const SHORTCUTS_META = {
}, },
hashtag: { hashtag: {
title: ({ hashtag }) => hashtag, title: ({ hashtag }) => hashtag,
path: ({ hashtag }) => `/t/${hashtag}`, path: ({ hashtag }) => `/t/${hashtag.split(/\s+/).join('+')}`,
icon: 'hashtag', icon: 'hashtag',
}, },
}; };