mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Add sentry debug page
This commit is contained in:
parent
3299e1e675
commit
624dcd5313
1 changed files with 23 additions and 0 deletions
23
packages/web/pages/_debug/sentry.tsx
Normal file
23
packages/web/pages/_debug/sentry.tsx
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
import { Button } from '../../components/elements/Button'
|
||||
import {
|
||||
BorderedFormInput,
|
||||
FormLabel,
|
||||
} from '../../components/elements/FormElements'
|
||||
import { SpanBox, VStack } from '../../components/elements/LayoutPrimitives'
|
||||
import { StyledText } from '../../components/elements/StyledText'
|
||||
import { webBaseURL } from '../../lib/appConfig'
|
||||
|
||||
export default function DebugShareTarget(): JSX.Element {
|
||||
return (
|
||||
<Button
|
||||
type="submit"
|
||||
style="ctaDarkYellow"
|
||||
css={{ my: '$2' }}
|
||||
onClick={(event) => {
|
||||
throw new Error('test error for sentry')
|
||||
}}
|
||||
>
|
||||
Submit
|
||||
</Button>
|
||||
)
|
||||
}
|
||||
Loading…
Reference in a new issue