Skip to content

Commit 6797e11

Browse files
fix: add leeway for token retrieval in FaucetRoute (#86)
1 parent 4d964aa commit 6797e11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/$chainSlug/_layout/faucet.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ function FaucetRoute() {
5050
throw new Error('User not connected or no address specified');
5151
}
5252

53-
const token = await getToken();
53+
const token = await getToken({ leewayInSeconds: 10 });
5454
if (!token) {
5555
throw new Error('Unable to get authentication token');
5656
}

0 commit comments

Comments
 (0)