diff --git a/.vscode/settings.json b/.vscode/settings.json index 88ec164..046387b 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -5,5 +5,14 @@ "mode": "auto" } ], + "files.readonlyInclude": { + "**/routeTree.gen.ts": true + }, + "files.watcherExclude": { + "**/routeTree.gen.ts": true + }, + "search.exclude": { + "**/routeTree.gen.ts": true + }, "typescript.tsdk": "node_modules/typescript/lib" } diff --git a/src/components/param/accountId.tsx b/src/components/param/accountId.tsx index b3fd8fa..b77365d 100644 --- a/src/components/param/accountId.tsx +++ b/src/components/param/accountId.tsx @@ -34,6 +34,7 @@ export function AccountIdParam({ onChangeValue(account.address); } }, + // eslint-disable-next-line react-compiler/react-compiler // eslint-disable-next-line react-hooks/exhaustive-deps [account], ); @@ -99,6 +100,7 @@ function CustomAccountParam({ () => { onChangeValue(derivedValue); }, + // eslint-disable-next-line react-compiler/react-compiler // eslint-disable-next-line react-hooks/exhaustive-deps [derivedValue], ); diff --git a/src/components/param/array.tsx b/src/components/param/array.tsx index 1bb783a..fac0d6e 100644 --- a/src/components/param/array.tsx +++ b/src/components/param/array.tsx @@ -43,6 +43,7 @@ function INTERNAL_ArrayParam({ () => { onChangeValue(derivedArray); }, + // eslint-disable-next-line react-compiler/react-compiler // eslint-disable-next-line react-hooks/exhaustive-deps [derivedArray], ); diff --git a/src/components/param/binary.tsx b/src/components/param/binary.tsx index d3c5e0e..52028f1 100644 --- a/src/components/param/binary.tsx +++ b/src/components/param/binary.tsx @@ -58,6 +58,7 @@ function TextBinaryParam({ onChangeValue, defaultValue }: BinaryParamProps) { onChangeValue(Binary.fromText(value)); } }, + // eslint-disable-next-line react-compiler/react-compiler // eslint-disable-next-line react-hooks/exhaustive-deps [value], ); @@ -94,6 +95,7 @@ function FileUploadBinaryParam({ onChangeValue }: BinaryParamProps) { onChangeValue(Binary.fromBytes(new Uint8Array(arrayBuffer))); } }, + // eslint-disable-next-line react-compiler/react-compiler // eslint-disable-next-line react-hooks/exhaustive-deps [arrayBuffer], ); diff --git a/src/components/param/compact.tsx b/src/components/param/compact.tsx index 95bcd97..32a8556 100644 --- a/src/components/param/compact.tsx +++ b/src/components/param/compact.tsx @@ -58,6 +58,7 @@ export function CompactParam({ () => { onChangeValue(parsedValue); }, + // eslint-disable-next-line react-compiler/react-compiler // eslint-disable-next-line react-hooks/exhaustive-deps [parsedValue], ); diff --git a/src/components/param/enum.tsx b/src/components/param/enum.tsx index 8ef2b29..896d894 100644 --- a/src/components/param/enum.tsx +++ b/src/components/param/enum.tsx @@ -35,6 +35,7 @@ export function INTERNAL_EnumParam({ () => { onChangeValue({ type: key, value }); }, + // eslint-disable-next-line react-compiler/react-compiler // eslint-disable-next-line react-hooks/exhaustive-deps [key, value], ); diff --git a/src/components/param/options.tsx b/src/components/param/options.tsx index 43497fb..7b5e965 100644 --- a/src/components/param/options.tsx +++ b/src/components/param/options.tsx @@ -26,6 +26,7 @@ export function OptionParam({ () => { onChangeValue(derivedValue); }, + // eslint-disable-next-line react-compiler/react-compiler // eslint-disable-next-line react-hooks/exhaustive-deps [derivedValue], ); diff --git a/src/components/param/primitive.tsx b/src/components/param/primitive.tsx index 4bc14a2..5b11730 100644 --- a/src/components/param/primitive.tsx +++ b/src/components/param/primitive.tsx @@ -129,6 +129,7 @@ export function PrimitiveParam({ () => { onChangeValue(parsedValue); }, + // eslint-disable-next-line react-compiler/react-compiler // eslint-disable-next-line react-hooks/exhaustive-deps [parsedValue], ); diff --git a/src/components/param/sequence.tsx b/src/components/param/sequence.tsx index 01357ec..b103cec 100644 --- a/src/components/param/sequence.tsx +++ b/src/components/param/sequence.tsx @@ -95,6 +95,7 @@ export function SequenceParam({ () => { onChangeValue(derivedValue); }, + // eslint-disable-next-line react-compiler/react-compiler // eslint-disable-next-line react-hooks/exhaustive-deps [derivedValue], ); diff --git a/src/components/param/struct.tsx b/src/components/param/struct.tsx index bf27cb5..873b5da 100644 --- a/src/components/param/struct.tsx +++ b/src/components/param/struct.tsx @@ -50,6 +50,7 @@ function INTERNAL_StructParam>({ () => { onChangeValue(derivedStruct); }, + // eslint-disable-next-line react-compiler/react-compiler // eslint-disable-next-line react-hooks/exhaustive-deps [derivedStruct], ); diff --git a/src/components/param/tuple.tsx b/src/components/param/tuple.tsx index cec9671..33e83db 100644 --- a/src/components/param/tuple.tsx +++ b/src/components/param/tuple.tsx @@ -39,6 +39,7 @@ function INTERNAL_TupleParam>({ () => { onChangeValue(derivedTuple); }, + // eslint-disable-next-line react-compiler/react-compiler // eslint-disable-next-line react-hooks/exhaustive-deps [derivedTuple], ); diff --git a/src/routes/_layout/extrinsics.tsx b/src/routes/_layout/extrinsics.tsx index 653f353..fb3e7cd 100644 --- a/src/routes/_layout/extrinsics.tsx +++ b/src/routes/_layout/extrinsics.tsx @@ -252,6 +252,7 @@ function CallParam({ setCallDataInput(searchCallData, true); } }, + // eslint-disable-next-line react-compiler/react-compiler // eslint-disable-next-line react-hooks/exhaustive-deps [], ); @@ -264,6 +265,7 @@ function CallParam({ setCallDataInput(callDataHex); } }, + // eslint-disable-next-line react-compiler/react-compiler // eslint-disable-next-line react-hooks/exhaustive-deps [callDataHex], );