fix eslint warnings
This commit is contained in:
1 parent
501ce4d3d0
commit
2e517cc7f7
3 files changed
+4
-7
No files matched your search
+2
-4
@@ -40,10 +40,8 @@ const Index: NextPage<Props> = props => (
|
||||
)
|
||||
|
||||
export const getStaticProps: GetStaticProps<Props> = async () => {
|
||||
const items = await apiGet(createHomeCards)
|
||||
('https://hudozka.tmshv.com/home', async () => [])
|
||||
const menu = await apiGet(createMenu)
|
||||
('https://hudozka.tmshv.com/menu', () => [])
|
||||
const items = await apiGet(createHomeCards)('https://hudozka.tmshv.com/home', async () => [])
|
||||
const menu = await apiGet(createMenu)('https://hudozka.tmshv.com/menu', () => [])
|
||||
|
||||
const title = 'Шлиссельбургская ДХШ'
|
||||
const meta = (new MetaBuilder())
|
||||
|
||||
@@ -16,7 +16,8 @@ export const Transition: React.FC<ITransitionProps> = props => {
|
||||
}, [opacity])
|
||||
const transition = React.useMemo(
|
||||
() => `all ${props.duration}ms`,
|
||||
[props.duration])
|
||||
[props.duration]
|
||||
)
|
||||
|
||||
React.useEffect(() => {
|
||||
if (!props.show) {
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
import * as React from 'react'
|
||||
|
||||
export const Share: React.FC = () => (
|
||||
<div className="likely">
|
||||
<div className="vkontakte">Поделиться</div>
|
||||
|
||||
Reference in new issue
Block a user