From e2c0ee66e4f2e2258ac6558ad0f9b6cd9c953390 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 22 Mar 2020 10:39:12 +0900 Subject: Resolve #6170 --- src/client/theme.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/theme.ts') diff --git a/src/client/theme.ts b/src/client/theme.ts index a34f2b5c34..2a6adbffcc 100644 --- a/src/client/theme.ts +++ b/src/client/theme.ts @@ -44,7 +44,7 @@ export function applyTheme(theme: Theme, persist = true) { const _theme = JSON.parse(JSON.stringify(theme)); if (_theme.base) { - const base = [lightTheme, darkTheme].find(x => x.id == _theme.base); + const base = [lightTheme, darkTheme].find(x => x.id === _theme.base); _theme.props = Object.assign({}, base.props, _theme.props); } -- cgit v1.2.3-freya