feat: add vote ratio bar

This commit is contained in:
James Xylight committed 2025-07-31 23:05:59 -07:00
1 parent 7ef9da9852
commit d6d1a9fe1f
6 files changed
+63 -3

No files matched your search

+2
View File
@@ -104,6 +104,7 @@ interface Settings {
messages: {
fullMarkdown: boolean
}
voteRatioBar: boolean
}
export const defaultSettings: Settings = {
@@ -184,6 +185,7 @@ export const defaultSettings: Settings = {
messages: {
fullMarkdown: toBool(env.PUBLIC_FULL_MARKDOWN) ?? false,
},
voteRatioBar: true,
}
function createSettingsState(initial: Settings): Settings {