Skip to content

Commit 1661bd1

Browse files
committed
Fix useCurrentSubject
1 parent 15be0a9 commit 1661bd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data-browser/src/helpers/useCurrentSubject.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export function useCurrentSubject(
3030
}
3131
}
3232

33-
if (subjectQ == undefined) {
33+
if (subjectQ == '') {
3434
if (pathname.startsWith('/app/')) {
3535
return [null, handleSetSubject];
3636
}

0 commit comments

Comments
 (0)