diff --git a/package.json b/package.json index 6521797..140a589 100644 --- a/package.json +++ b/package.json @@ -67,7 +67,6 @@ "clsx": "^2.1.1", "cmdk": "^0.2.1", "embla-carousel-react": "8.1.6", - "eslint-plugin-react-compiler": "0.0.0-experimental-0998c1e-20240625", "gql": "^1.1.2", "graphql-codegen-plugin-typescript-swr": "^0.8.5", "graphql-request": "6.1.0", @@ -114,6 +113,7 @@ "eslint-plugin-graphql": "latest", "eslint-plugin-import": "^2.29.1", "eslint-plugin-prettier": "latest", + "eslint-plugin-react-compiler": "0.0.0-experimental-0998c1e-20240625", "eslint-plugin-react-hooks": "latest", "eslint-plugin-simple-import-sort": "latest", "eslint-plugin-tailwindcss": "^3.17.4", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9189311..0ff2c0f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -149,9 +149,6 @@ importers: embla-carousel-react: specifier: 8.1.6 version: 8.1.6(react@19.0.0-rc-df5f2736-20240712) - eslint-plugin-react-compiler: - specifier: 0.0.0-experimental-0998c1e-20240625 - version: 0.0.0-experimental-0998c1e-20240625(eslint@8.56.0) gql: specifier: ^1.1.2 version: 1.1.2 @@ -285,6 +282,9 @@ importers: eslint-plugin-prettier: specifier: latest version: 5.1.3(eslint-config-prettier@9.1.0(eslint@8.56.0))(eslint@8.56.0)(prettier@3.3.2) + eslint-plugin-react-compiler: + specifier: 0.0.0-experimental-0998c1e-20240625 + version: 0.0.0-experimental-0998c1e-20240625(eslint@8.56.0) eslint-plugin-react-hooks: specifier: latest version: 4.6.0(eslint@8.56.0) diff --git a/src/app/[chainId]/[safeAddress]/[orderId]/page.tsx b/src/app/[chainId]/[safeAddress]/[orderId]/page.tsx index ed7bdfc..ccd8214 100644 --- a/src/app/[chainId]/[safeAddress]/[orderId]/page.tsx +++ b/src/app/[chainId]/[safeAddress]/[orderId]/page.tsx @@ -3,7 +3,7 @@ import { Address } from "viem"; import { OrderDetails } from "#/components/OrderDetails"; import { ChainId } from "#/lib/publicClients"; -export default async function OrderPage({ +export default function OrderPage({ params, }: { params: { diff --git a/src/components/AdvancedSettingsDialog.tsx b/src/components/AdvancedSettingsDialog.tsx index 5b56bdf..dca9890 100644 --- a/src/components/AdvancedSettingsDialog.tsx +++ b/src/components/AdvancedSettingsDialog.tsx @@ -78,8 +78,15 @@ export function AdvancedSettingsDialog() { const receiver = useWatch({ control, name: "receiver" }); + const handleOpenChange = (isOpen: boolean) => { + if (!isOpen) { + reset(advancedSettings); + } + setOpen(isOpen); + }; + return ( - + +