File tree 4 files changed +7
-3
lines changed
src/app/posts/(post-detail)
4 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ NEXT_PUBLIC_GATEWAY_URL=http://jxhome.shizuri.net:52333
9
9
10
10
SENTRY = true
11
11
NEXT_PUBLIC_SENTRY_DSN = https://f7660879c3c645e99e9c040aef4072ba@o4505266479366144.ingest.sentry.io/4505339474870272
12
- NEXT_PUBLIC_SENTRY_AUTH_TOKEN = 7c9c58e200f6488791669ab910cf168f685c46fd179240d79630d8e7ba233030
12
+ SENTRY_AUTH_TOKEN = 7c9c58e200f6488791669ab910cf168f685c46fd179240d79630d8e7ba233030
13
13
14
14
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY = pk_test_cmVzb2x2ZWQtd2FydGhvZy0yNC5jbGVyay5hY2NvdW50cy5kZXYk
15
15
CLERK_SECRET_KEY = sk_test_qOKIV9c9sIwzWP4SPhcOk5BDBfHWoG3nqZ54vzES8q
Original file line number Diff line number Diff line change 1
1
import type { FC , PropsWithChildren } from 'react'
2
2
3
3
declare global {
4
+ export type NextErrorProps = {
5
+ reset ( ) : void
6
+ error : Error
7
+ }
4
8
export type NextPageParams < P extends { } , Props = { } > = PropsWithChildren <
5
9
{
6
10
params : P
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ let nextConfig = {
46
46
org : 'inneis-site' ,
47
47
48
48
project : 'springtide' ,
49
- authToken : process . env . NEXT_PUBLIC_SENTRY_AUTH_TOKEN ,
49
+ authToken : process . env . SENTRY_AUTH_TOKEN ,
50
50
} ) ,
51
51
)
52
52
}
Original file line number Diff line number Diff line change 2
2
3
3
import { Container } from './Container'
4
4
5
- export default ( { error, reset } ) => {
5
+ export default ( { error, reset } : NextErrorProps ) => {
6
6
// TODO
7
7
return < Container > Post Fetch error</ Container >
8
8
}
You can’t perform that action at this time.
0 commit comments