Skip to content

Commit

Permalink
Merge pull request #886 from hackclub/fix-fs-identify-warnings
Browse files Browse the repository at this point in the history
Fix verbose complaints about window undefined
  • Loading branch information
maxwofford authored Nov 29, 2024
2 parents b5d8b34 + 85ce1f7 commit b1d5d30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/harbor/tabs/tabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ const LoadingOverlay = () => {
}

const fsIdentify = (id: string, email: string, displayName?: string) => {
if (!!window?.FS) {
if (!!window && !!window?.FS && !!window?.FS?.identify) {
window?.FS?.identify(id, {
email,
displayName,
Expand Down

0 comments on commit b1d5d30

Please sign in to comment.