fix errors
This commit is contained in:
parent
0a804fac8f
commit
172750625a
2 changed files with 2 additions and 4 deletions
|
@ -2,12 +2,9 @@ import React from 'react'
|
|||
import DesignIcon from 'shared/components/icons/design.js'
|
||||
import Link from 'next/link'
|
||||
import { useTranslation } from 'next-i18next'
|
||||
import useVersion from 'site/hooks/useVersion.js'
|
||||
import { formatVersionUri } from './version-picker.js'
|
||||
|
||||
const PatternPicker = ({ app }) => {
|
||||
const { t } = useTranslation(['common'])
|
||||
const version = useVersion()
|
||||
|
||||
return (
|
||||
<div className="dropdown w-full md:w-auto">
|
||||
|
|
|
@ -207,7 +207,8 @@ export const Icons = ({
|
|||
liClasses='',
|
||||
linkClasses=`grow text-lg lg:text-xl py-1 text-base-content sm:text-base-content
|
||||
hover:text-secondary sm:hover:text-secondary hover:cursor-pointer
|
||||
flex flex-col items-center`
|
||||
flex flex-col items-center`,
|
||||
linkStyle={}
|
||||
}) => {
|
||||
if (!app.navigation) return null
|
||||
const output = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue