Skip to content

Commit 1ead3a7

Browse files
committed
fix typescript error
1 parent 348da2f commit 1ead3a7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/renderer/screens/About.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const About = () => {
1414
const author = useMemo(() => getAuthor(), []);
1515

1616
return (
17-
<Layout title={t('about-title')} withBackButton>
17+
<Layout title={t('about-title') as string} withBackButton>
1818
<Grid item xs={12}>
1919
<Paper css={paperBase}>
2020
<img draggable="false" alt="logo" src="images/flaru-logo.webp" />

src/renderer/screens/Explorer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ const Explorer = ({ ConfigActions, config }) => {
119119
}, []);
120120

121121
return (
122-
<Layout header={!loading} center={loading} title={t('main-title')}>
122+
<Layout header={!loading} center={loading} title={t('main-title') as string}>
123123
<Grid
124124
item
125125
xs={12}

src/renderer/screens/Settings.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ const Settings = ({ config, ConfigActions }) => {
114114
};
115115

116116
return (
117-
<Layout title={t('menu:settings')} withBackButton>
117+
<Layout title={t('menu:settings') as string} withBackButton>
118118
<Grid
119119
item
120120
xs={12}

0 commit comments

Comments
 (0)