double qutes eslint rule

This commit is contained in:
tmshv committed 2022-09-06 14:52:56 +03:00
1 parent 2e517cc7f7
commit 85bc8c4af5
57 files changed
+370 -366

No files matched your search

+12 -12
View File
@@ -1,32 +1,32 @@
import s from './footer.module.css'
import s from "./footer.module.css"
import cx from 'classnames'
import { Copyright } from '../Copyright'
import { Author } from './Author'
import { Block } from '../Block'
import { Spacer } from '../Spacer'
import { Contacts } from '../Contacts'
import cx from "classnames"
import { Copyright } from "../Copyright"
import { Author } from "./Author"
import { Block } from "../Block"
import { Spacer } from "../Spacer"
import { Contacts } from "../Contacts"
export interface IFooterProps {
showAuthor: boolean
}
export const Footer: React.FC<IFooterProps> = props => (
<footer className={cx(s.footer, 'opposite')}>
<Block direction={'vertical'} style={{
marginBottom: 'var(--size-l)',
<footer className={cx(s.footer, "opposite")}>
<Block direction={"vertical"} style={{
marginBottom: "var(--size-l)",
}}>
<Contacts />
</Block>
{props.children}
<Block direction={'horizontal'}>
<Block direction={"horizontal"}>
<Copyright />
{!props.showAuthor ? null : (
<>
<Spacer as={'span'} />
<Spacer as={"span"} />
<Author />
</>
)}