We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b33fdd commit 408a76eCopy full SHA for 408a76e
app/gui/src/dashboard/providers/DriveProvider.tsx
@@ -54,7 +54,7 @@ export function getDriveLocation() {
54
// eslint-disable-next-line react-refresh/only-export-components
55
export function setDriveLocation(directoryId: DirectoryId | null, categoryId?: CategoryId | null) {
56
driveLocationStore.setState({
57
- ...(categoryId != null ? { categoryId } : {}),
+ ...(categoryId !== undefined ? { categoryId } : {}),
58
directoryId,
59
})
60
}
0 commit comments