omnivore/packages/web/pages/settings/index.tsx
2022-02-11 09:24:33 -08:00

15 lines
462 B
TypeScript

import React, { useEffect } from 'react'
import Router from 'next/router'
import { Box } from '../../components/elements/LayoutPrimitives'
export default function Extensions(): JSX.Element {
useEffect(() => {
if (window.innerWidth <= 1024) {
Router.push('/settings/installation/mobile')
} else {
Router.push('/settings/installation/extensions')
}
}, [])
return <Box css={{ bg: '$grayBase', height: '100vh', width: '100vw' }} />
}