lint + prettier

This commit is contained in:
David Sun
2019-03-26 16:55:10 -04:00
parent 3aaf21e34e
commit 3149d86855
4 changed files with 31 additions and 5 deletions

View File

@@ -134,7 +134,7 @@ const CustomSection = styled(Section)<CustomSectionProps>`
max-width: 100%;
width: inherit;
transition: 300ms transform ease-in-out;
transform: translateY(-${props => props.dismissed ? '100%' : '0'});
transform: translateY(-${props => (props.dismissed ? '100%' : '0')});
font-family: Formular, sans-serif;
@media (max-width: 900px) {
align-items: center;

View File

@@ -314,7 +314,7 @@ export class Portal extends React.Component<PortalProps, PortalState> {
);
}
private _dismissBanner(): void {
this.setState({dismissBanner: true});
this.setState({ dismissBanner: true });
}
// tslint:disable-next-line:no-unused-variable