feat: add debug info

This commit is contained in:
Xyphyn committed 2023-08-25 15:11:18 -07:00
1 parent 45fbc7d25f
commit 5636abbd5b
7 files changed
+72 -12

No files matched your search

+2
View File
@@ -50,6 +50,7 @@ interface Settings {
newVote: boolean
randomPlaceholders: boolean
modlogCardView: boolean | undefined
debugInfo: boolean
}
export const defaultSettings: Settings = {
@@ -87,6 +88,7 @@ export const defaultSettings: Settings = {
newVote: toBool(env.PUBLIC_NEW_VOTE_BUTTONS) ?? false,
randomPlaceholders: toBool(env.PUBLIC_RANDOM_PLACEHOLDERS) ?? true,
modlogCardView: toBool(env.PUBLIC_MODLOG_CARD_VIEW) ?? undefined,
debugInfo: false,
}
export const userSettings = writable(defaultSettings)