Merge pull request #147 from Yidadaa/Yidadaa-patch-1

fix: #140 crash while hydrating store from old version
This commit is contained in:
Yifei Zhang 2023-03-29 16:09:06 +08:00 committed by GitHub
commit 8a05f84838
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -232,7 +232,7 @@ export function Settings(props: { closeSettings: () => void }) {
>
<input
type="range"
title={config.fontSize.toString() + 'px'}
title={`${config.fontSize ?? 14}px`}
value={config.fontSize}
min="12"
max="18"