We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd5819b commit dc6152fCopy full SHA for dc6152f
web-marketplace/src/components/organisms/ProjectCollaborators/ProjectCollaborators.tsx
@@ -147,7 +147,11 @@ export const ProjectCollaborators = ({
147
)}
148
{partOfOrganization ? (
149
canMigrate && offChainId ? (
150
- <OutlinedButton onClick={migrateProject} className="mt-25">
+ <OutlinedButton
151
+ // avoid passing the click event as first argument of migrateProject
152
+ onClick={() => void migrateProject()}
153
+ className="mt-25"
154
+ >
155
{_(MIGRATE_PROJECT)}
156
</OutlinedButton>
157
) : (
0 commit comments