Skip to content

Commit 34b4c14

Browse files
committed
whatever
1 parent be9293a commit 34b4c14

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

site/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"repository": "https://github.com/coder/coder",
55
"private": true,
66
"license": "AGPL-3.0",
7-
"type": "module",
87
"scripts": {
98
"build": "NODE_ENV=production pnpm vite build",
109
"check": "biome check --error-on-warnings .",

site/src/components/deprecated/Popover/Popover.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import {
2121

2222
type TriggerMode = "hover" | "click";
2323

24-
type TriggerRef = RefObject<HTMLElement>;
24+
type TriggerRef = RefObject<HTMLElement | null>;
2525

2626
// Have to append ReactNode type to satisfy React's cloneElement function. It
2727
// has absolutely no bearing on what happens at runtime
@@ -146,6 +146,7 @@ export const PopoverTrigger: FC<PopoverTriggerProps> = (props) => {
146146
return cloneElement(evaluatedChildren, {
147147
...elementProps,
148148
...(popover.mode === "click" ? clickProps : hoverProps),
149+
// @ts-expect-error – maybe removed from types?
149150
"aria-haspopup": true,
150151
"aria-owns": popover.id,
151152
"aria-expanded": popover.open,
File renamed without changes.

0 commit comments

Comments
 (0)