-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
37 changed files
with
1,899 additions
and
916 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
app/app/[locale]/(rankings)/clans/[[...clansRankingsOptions]]/error.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
"use client" | ||
|
||
import { ErrorDisplay } from "@/app/[locale]/_layout/ErrorDisplay" | ||
import { msg } from "@lingui/macro" | ||
import { useLingui } from "@lingui/react" | ||
|
||
export default function Error({ | ||
error, | ||
reset, | ||
}: { | ||
error: Error & { digest?: string } | ||
reset: () => void | ||
}) { | ||
const { _ } = useLingui() | ||
|
||
return ( | ||
<ErrorDisplay | ||
reset={reset} | ||
title={_(msg`Failed to load the clan rankings :(`)} | ||
error={error} | ||
/> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
"use client" | ||
|
||
import { ErrorDisplay } from "../_layout/ErrorDisplay" | ||
import { msg } from "@lingui/macro" | ||
import { useLingui } from "@lingui/react" | ||
|
||
export default function Error({ | ||
error, | ||
reset, | ||
}: { | ||
error: Error & { digest?: string } | ||
reset: () => void | ||
}) { | ||
const { _ } = useLingui() | ||
|
||
return ( | ||
<ErrorDisplay | ||
reset={reset} | ||
title={_(msg`An unknown error occured :(`)} | ||
error={error} | ||
/> | ||
) | ||
} |
23 changes: 23 additions & 0 deletions
23
app/app/[locale]/(rankings)/power-rankings/[[...rankingsOptions]]/error.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
"use client" | ||
|
||
import { ErrorDisplay } from "@/app/[locale]/_layout/ErrorDisplay" | ||
import { msg } from "@lingui/macro" | ||
import { useLingui } from "@lingui/react" | ||
|
||
export default function Error({ | ||
error, | ||
reset, | ||
}: { | ||
error: Error & { digest?: string } | ||
reset: () => void | ||
}) { | ||
const { _ } = useLingui() | ||
|
||
return ( | ||
<ErrorDisplay | ||
reset={reset} | ||
title={_(msg`Failed to load the power rankings :(`)} | ||
error={error} | ||
/> | ||
) | ||
} |
2 changes: 2 additions & 0 deletions
2
app/app/[locale]/(rankings)/power-rankings/[[...rankingsOptions]]/page.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
export default function RankingsRotatingPage() { | ||
throw new Error("Not implemented") | ||
|
||
return <>Power rankings Coming soon™</> | ||
} |
23 changes: 23 additions & 0 deletions
23
app/app/[locale]/(rankings)/ranked/[[...rankingsOptions]]/error.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
"use client" | ||
|
||
import { ErrorDisplay } from "@/app/[locale]/_layout/ErrorDisplay" | ||
import { msg } from "@lingui/macro" | ||
import { useLingui } from "@lingui/react" | ||
|
||
export default function Error({ | ||
error, | ||
reset, | ||
}: { | ||
error: Error & { digest?: string } | ||
reset: () => void | ||
}) { | ||
const { _ } = useLingui() | ||
|
||
return ( | ||
<ErrorDisplay | ||
reset={reset} | ||
title={_(msg`Failed to load the rankings :(`)} | ||
error={error} | ||
/> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
"use client" | ||
|
||
import { ErrorDisplay } from "@/app/[locale]/_layout/ErrorDisplay" | ||
import { msg } from "@lingui/macro" | ||
import { useLingui } from "@lingui/react" | ||
|
||
export default function Error({ | ||
error, | ||
reset, | ||
}: { | ||
error: Error & { digest?: string } | ||
reset: () => void | ||
}) { | ||
const { _ } = useLingui() | ||
|
||
return ( | ||
<ErrorDisplay | ||
reset={reset} | ||
title={_(msg`Failed to load the ranked queue :(`)} | ||
error={error} | ||
/> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
"use client" | ||
|
||
import { ErrorDisplay } from "./_layout/ErrorDisplay" | ||
import { msg } from "@lingui/macro" | ||
import { useLingui } from "@lingui/react" | ||
|
||
export default function Error({ | ||
error, | ||
reset, | ||
}: { | ||
error: Error & { digest?: string } | ||
reset: () => void | ||
}) { | ||
const { _ } = useLingui() | ||
|
||
return ( | ||
<ErrorDisplay | ||
reset={reset} | ||
title={_(msg`An unknown error occured :(`)} | ||
error={error} | ||
/> | ||
) | ||
} |
Oops, something went wrong.