Optimise imports

This commit is contained in:
Ben Grant 2021-05-18 21:48:07 +10:00
parent 32c45d04f3
commit 5a3dd895f6
4 changed files with 2 additions and 14 deletions

View file

@ -27,7 +27,6 @@ import {
OfflineMessage,
ShareInfo,
Footer,
AboutSection,
} from './createStyle';
import api from 'services';

View file

@ -66,14 +66,3 @@ export const ShareInfo = styled.p`
}
`}
`;
export const AboutSection = styled.section`
margin: 30px 0 0;
background-color: ${props => props.theme.primaryBackground};
padding: 10px 0;
& h2 {
margin: 0 0 10px;
font-size: 1.2rem;
}
`;

View file

@ -28,7 +28,7 @@ const Help = () => {
useEffect(() => {
document.title = t('help:name');
}, []);
}, [t]);
return (
<>

View file

@ -24,7 +24,7 @@ const Privacy = () => {
useEffect(() => {
document.title = `${t('privacy:name')} - Crab Fit`;
}, []);
}, [t]);
return (
<>