chore: fix some issues on windows
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -326,7 +326,7 @@ export function ReplyForm({
|
||||
setTarget(null);
|
||||
}}
|
||||
>
|
||||
<div className="h-full overflow-y-auto p-3 bg-neutral-100 dark:bg-neutral-900 rounded-xl">
|
||||
<div className="overflow-y-auto p-3 bg-neutral-100 dark:bg-neutral-900 rounded-xl">
|
||||
<Editable
|
||||
key={JSON.stringify(editorValue)}
|
||||
autoFocus={false}
|
||||
|
||||
@@ -10,7 +10,7 @@ export function AppLayout({ platform }: { platform: Platform }) {
|
||||
<div
|
||||
className={cn(
|
||||
"flex h-screen w-screen flex-col",
|
||||
platform !== "macos" ? "bg-blue-50 dark:bg-blue-950" : "",
|
||||
platform !== "macos" ? "bg-neutral-50 dark:bg-neutral-950" : "",
|
||||
)}
|
||||
>
|
||||
{platform === "windows" ? (
|
||||
|
||||
Reference in New Issue
Block a user