chore: fix some issues on windows

This commit is contained in:
reya
2024-01-20 10:15:27 +07:00
parent 9fcdac4edb
commit e0250d7f5c
5 changed files with 6 additions and 9 deletions

View File

@@ -72,7 +72,7 @@ export function ColumnHeader({
Refresh
</button>
</DropdownMenu.Item>
{queryKey[0] === "foryou-9998" ? (
{queryKey?.[0] === "foryou-9998" ? (
<DropdownMenu.Item asChild>
<InterestModal queryKey={queryKey} />
</DropdownMenu.Item>