Skip to content

Commit 90f98e5

Browse files
authored
Merge branch 'main' into add-development-note
2 parents e08646c + 0040f6b commit 90f98e5

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

auth.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,7 @@ export function createTrpcClient(debug: boolean, deployUrl: string) {
6161
links: [
6262
errorLink,
6363
retryLink({
64-
retry({ error: err }) {
65-
const code = err?.data?.code ?? (err?.cause as any)?.data?.code;
66-
if (!(code === "NOT_AUTHENTICATED" || code === "TOKEN_EXPIRED")) {
67-
}
68-
64+
retry() {
6965
if (tokenIsTemp) {
7066
error(
7167
debug,

0 commit comments

Comments
 (0)