Skip to content

Commit 24ac2ef

Browse files
committed
refactor(web): remove-code-smells
1 parent 1f1d57e commit 24ac2ef

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

web/src/context/AtlasProvider.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,6 @@ const AtlasProvider: React.FC<{ children?: React.ReactNode }> = ({ children }) =
9999
let timeoutId: NodeJS.Timeout;
100100

101101
const verifyAndSchedule = () => {
102-
console.log("checking");
103-
104102
// initial verfiy check
105103
const isValid = verifySession();
106104
setIsVerified(isValid);
@@ -167,7 +165,6 @@ const AtlasProvider: React.FC<{ children?: React.ReactNode }> = ({ children }) =
167165
(error instanceof GraphQLError && error.extensions["code"] === "UNAUTHENTICATED")
168166
) {
169167
setIsVerified(false);
170-
throw error;
171168
}
172169
throw error;
173170
}

0 commit comments

Comments
 (0)