Skip to content

Commit c7345a7

Browse files
committed
lint
1 parent 04ccfa4 commit c7345a7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

auth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export function createTrpcClient(debug: boolean, deployUrl: string) {
6262
errorLink,
6363
retryLink({
6464
retry({ error: err }) {
65-
const code = err?.data?.code ?? err?.cause?.data?.code;
65+
const code = err?.data?.code ?? (err?.cause as any)?.data?.code;
6666
if (!(code === "NOT_AUTHENTICATED" || code === "TOKEN_EXPIRED")) {
6767
}
6868

0 commit comments

Comments
 (0)