Fix: Changing font reset overrides.

Fix: Left test string in friends.
This commit is contained in:
Paul 2021-07-05 21:03:34 +01:00
parent e5b233e14e
commit c246c2b77a
2 changed files with 3 additions and 7 deletions

View file

@ -210,8 +210,6 @@ export default function Friends() {
</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>
</>
);

View file

@ -152,7 +152,7 @@ export function Component(props: Props) {
<ComboBox
value={theme.font ?? DEFAULT_FONT}
onChange={(e) =>
setTheme({ custom: { font: e.currentTarget.value as any } })
pushOverride({ font: e.currentTarget.value as any })
}>
{FONT_KEYS.map((key) => (
<option value={key}>
@ -335,10 +335,8 @@ export function Component(props: Props) {
<ComboBox
value={theme.monoscapeFont ?? DEFAULT_MONO_FONT}
onChange={(e) =>
setTheme({
custom: {
monoscapeFont: e.currentTarget.value as any,
},
pushOverride({
monoscapeFont: e.currentTarget.value as any,
})
}>
{MONOSCAPE_FONT_KEYS.map((key) => (