Skip to content
Snippets Groups Projects
Commit c246c2b7 authored by insert's avatar insert
Browse files

Fix: Changing font reset overrides.

Fix: Left test string in friends.
parent e5b233e1
No related merge requests found
...@@ -210,8 +210,6 @@ export default function Friends() { ...@@ -210,8 +210,6 @@ export default function Friends() {
</CollapsibleSection> </CollapsibleSection>
); );
})} })}
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><h1>test</h1>
</div> </div>
</> </>
); );
......
...@@ -152,7 +152,7 @@ export function Component(props: Props) { ...@@ -152,7 +152,7 @@ export function Component(props: Props) {
<ComboBox <ComboBox
value={theme.font ?? DEFAULT_FONT} value={theme.font ?? DEFAULT_FONT}
onChange={(e) => onChange={(e) =>
setTheme({ custom: { font: e.currentTarget.value as any } }) pushOverride({ font: e.currentTarget.value as any })
}> }>
{FONT_KEYS.map((key) => ( {FONT_KEYS.map((key) => (
<option value={key}> <option value={key}>
...@@ -335,10 +335,8 @@ export function Component(props: Props) { ...@@ -335,10 +335,8 @@ export function Component(props: Props) {
<ComboBox <ComboBox
value={theme.monoscapeFont ?? DEFAULT_MONO_FONT} value={theme.monoscapeFont ?? DEFAULT_MONO_FONT}
onChange={(e) => onChange={(e) =>
setTheme({ pushOverride({
custom: { monoscapeFont: e.currentTarget.value as any,
monoscapeFont: e.currentTarget.value as any,
},
}) })
}> }>
{MONOSCAPE_FONT_KEYS.map((key) => ( {MONOSCAPE_FONT_KEYS.map((key) => (
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment