diff options
Diffstat (limited to 'src/components/Layouts/Layout.tsx')
| -rw-r--r-- | src/components/Layouts/Layout.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/components/Layouts/Layout.tsx b/src/components/Layouts/Layout.tsx index 845d6fa..23c1d0e 100644 --- a/src/components/Layouts/Layout.tsx +++ b/src/components/Layouts/Layout.tsx @@ -19,9 +19,8 @@ const Layout = ({ isHome?: boolean; }) => { const intl = useIntl(); - const { locale } = useRouter(); + const { asPath, locale } = useRouter(); const ref = useRef<HTMLSpanElement>(null); - const { asPath } = useRouter(); useEffect(() => { ref.current?.focus(); |
