fix: remove TS type annotation from define:vars script (plain JS only)

This commit is contained in:
Davide Scaini
2026-04-15 20:48:11 +02:00
parent 7142ac8f2e
commit a95dd07e22
+1 -1
View File
@@ -516,7 +516,7 @@ try {
const pr = await fetch('/api/me/prefs', { credentials: 'include' });
if (pr.ok) {
const prefs = await pr.json();
const navHideMap: Record<string, string> = {
const navHideMap = {
'nav_hide_feed': 'nav-feed',
'nav_hide_community': 'nav-community',
'nav_hide_about': 'nav-about',