Optimise imports
This commit is contained in:
parent
32c45d04f3
commit
5a3dd895f6
|
|
@ -27,7 +27,6 @@ import {
|
|||
OfflineMessage,
|
||||
ShareInfo,
|
||||
Footer,
|
||||
AboutSection,
|
||||
} from './createStyle';
|
||||
|
||||
import api from 'services';
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
`;
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ const Help = () => {
|
|||
|
||||
useEffect(() => {
|
||||
document.title = t('help:name');
|
||||
}, []);
|
||||
}, [t]);
|
||||
|
||||
return (
|
||||
<>
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ const Privacy = () => {
|
|||
|
||||
useEffect(() => {
|
||||
document.title = `${t('privacy:name')} - Crab Fit`;
|
||||
}, []);
|
||||
}, [t]);
|
||||
|
||||
return (
|
||||
<>
|
||||
|
|
|
|||
Loading…
Reference in a new issue