We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8f4966 commit 7a79585Copy full SHA for 7a79585
apps/dashboard/src/@/components/contracts/import-contract/modal.tsx
@@ -231,13 +231,13 @@ function ImportForm(props: {
231
</Button>
232
) : (
233
<Button className="gap-2" type="submit">
234
- {addContractToProject.isPending ? (
+ {form.formState.isSubmitting ? (
235
<Spinner className="size-4" />
236
237
<ArrowDownToLineIcon className="size-4" />
238
)}
239
240
- {addContractToProject.isPending ? "Importing" : "Import"}
+ {form.formState.isSubmitting ? "Importing" : "Import"}
241
242
243
</div>
0 commit comments