mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
15 lines
462 B
TypeScript
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' }} />
|
|
}
|