Skip to content

Commit

Permalink
fix(sentry): SKFP-1360 error on undefined object
Browse files Browse the repository at this point in the history
  • Loading branch information
AltefrohneGaelle committed Nov 14, 2024
1 parent ad1bd43 commit 875120e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/store/fences/thunks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export const fenceOpenAuhentificationTab = createAsyncThunk<

return new Promise((resolve, reject) => {
const interval = setInterval(async () => {
if (authWindow.closed) {
if (authWindow?.closed) {
const { data } = await FenceApi.isAuthenticated(fence);

if (data?.authenticated) {
Expand Down

0 comments on commit 875120e

Please sign in to comment.