fix build errors
Some checks failed
Deploy / deploy (ubuntu-latest, 2.44.0) (push) Failing after -2s
Some checks failed
Deploy / deploy (ubuntu-latest, 2.44.0) (push) Failing after -2s
This commit is contained in:
parent
b091e5f93b
commit
33781a733c
@ -53,7 +53,7 @@
|
|||||||
"@types/node": "^22.0.0",
|
"@types/node": "^22.0.0",
|
||||||
"@types/react": "^18",
|
"@types/react": "^18",
|
||||||
"@types/react-dom": "^18",
|
"@types/react-dom": "^18",
|
||||||
"eslint": "^9.0.0",
|
"eslint": "^8",
|
||||||
"eslint-config-next": "14.2.12",
|
"eslint-config-next": "14.2.12",
|
||||||
"postcss": "^8",
|
"postcss": "^8",
|
||||||
"tailwindcss": "^3.4.1",
|
"tailwindcss": "^3.4.1",
|
||||||
|
@ -58,7 +58,7 @@ const OrganizationSelector = (): ReactElement => {
|
|||||||
if (!toSelect && organizations.length > 0) {
|
if (!toSelect && organizations.length > 0) {
|
||||||
setSelectedOrganization(organizations[0].snowflake);
|
setSelectedOrganization(organizations[0].snowflake);
|
||||||
}
|
}
|
||||||
}, [organizations, selectedOrganization]);
|
}, [organizations, selectedOrganization, setSelectedOrganization]);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Handle selecting an organization.
|
* Handle selecting an organization.
|
||||||
|
@ -23,7 +23,7 @@ const Command = React.forwardRef<
|
|||||||
));
|
));
|
||||||
Command.displayName = CommandPrimitive.displayName;
|
Command.displayName = CommandPrimitive.displayName;
|
||||||
|
|
||||||
interface CommandDialogProps extends DialogProps {}
|
type CommandDialogProps = DialogProps;
|
||||||
|
|
||||||
const CommandDialog = ({ children, ...props }: CommandDialogProps) => {
|
const CommandDialog = ({ children, ...props }: CommandDialogProps) => {
|
||||||
return (
|
return (
|
||||||
|
@ -2,8 +2,7 @@ import * as React from "react";
|
|||||||
|
|
||||||
import { cn } from "@/lib/utils";
|
import { cn } from "@/lib/utils";
|
||||||
|
|
||||||
export interface InputProps
|
export type InputProps = React.InputHTMLAttributes<HTMLInputElement>;
|
||||||
extends React.InputHTMLAttributes<HTMLInputElement> {}
|
|
||||||
|
|
||||||
const Input = React.forwardRef<HTMLInputElement, InputProps>(
|
const Input = React.forwardRef<HTMLInputElement, InputProps>(
|
||||||
({ className, type, ...props }, ref) => {
|
({ className, type, ...props }, ref) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user