style: fix warning from eslint

This commit is contained in:
unix
2020-03-19 02:05:17 +08:00
parent 1b2365b89f
commit 596f134c25
22 changed files with 39 additions and 32 deletions

View File

@@ -46,8 +46,8 @@ const Container: React.FC<React.PropsWithChildren<RowProps>> = React.memo(({
const Component = component
const theme = useTheme()
const { justifyValue, alignValue } = useMemo(
() => getFlexAlignment(justify, align),
[justify, align],
() => getFlexAlignment(justify, align),
[justify, align],
)
return (