Skip to content

Commit 60f8347

Browse files
committed
fix: type error
Signed-off-by: Innei <i@innei.in>
1 parent 033831b commit 60f8347

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/renderer/src/components/ui/divider/PanelSpliter.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,13 @@ import * as React from "react"
22

33
export const PanelSplitter = (
44
props: React.DetailedHTMLProps<
5-
React.HTMLAttributes<HTMLButtonElement>,
6-
HTMLButtonElement
5+
React.HTMLAttributes<HTMLDivElement>,
6+
HTMLDivElement
77
>,
88
) => (
99
<div className="relative h-full w-0 shrink-0">
10-
<button
10+
<div
1111
tabIndex={-1}
12-
type="button"
1312
{...props}
1413
className="absolute inset-0 z-[11] w-[2px] -translate-x-1/2 cursor-ew-resize bg-transparent hover:bg-gray-400 active:bg-theme-accent hover:dark:bg-neutral-500"
1514
/>

0 commit comments

Comments
 (0)