mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Remove old privacy document
This commit is contained in:
parent
0a3d56ea42
commit
881e2ea595
1 changed files with 0 additions and 19 deletions
|
|
@ -1,19 +0,0 @@
|
|||
import { useRouter } from 'next/router'
|
||||
import { PrivacyPolicy } from '../components/templates/PrivacyPolicy'
|
||||
import { SettingsLayout } from '../components/templates/SettingsLayout'
|
||||
|
||||
export default function Privacy(): JSX.Element {
|
||||
const router = useRouter()
|
||||
const appEmbedViewQuery = router.query.isAppEmbedView as string | undefined
|
||||
const isAppEmbedView = (appEmbedViewQuery ?? '').length > 0
|
||||
|
||||
if (isAppEmbedView) {
|
||||
return <PrivacyPolicy />
|
||||
} else {
|
||||
return (
|
||||
<SettingsLayout title="Privacy Policy">
|
||||
<PrivacyPolicy />
|
||||
</SettingsLayout>
|
||||
)
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue