mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-28 07:47:58 +02:00
chore: cleanup, a11y and state migrations
This commit is contained in:
@@ -335,7 +335,12 @@ function useDynamicTitle(window: WindowInstance): WindowTitleData {
|
||||
|
||||
// 8. Generic Tags - NEW (a-z, A-Z filters excluding e, p, t, d)
|
||||
const genericTags = Object.entries(filter)
|
||||
.filter(([key]) => key.startsWith("#") && key.length === 2 && !["#e", "#p", "#t", "#d"].includes(key))
|
||||
.filter(
|
||||
([key]) =>
|
||||
key.startsWith("#") &&
|
||||
key.length === 2 &&
|
||||
!["#e", "#p", "#t", "#d"].includes(key),
|
||||
)
|
||||
.map(([key, values]) => ({ letter: key[1], values: values as string[] }));
|
||||
|
||||
if (genericTags.length > 0) {
|
||||
|
||||
Reference in New Issue
Block a user