fix: remove TS type annotation from define:vars script (plain JS only)
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user