Skip to content

Commit dc6152f

Browse files
authored
fix: APP-872 migrating project from collaborators tab (#2797)
1 parent fd5819b commit dc6152f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

web-marketplace/src/components/organisms/ProjectCollaborators/ProjectCollaborators.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,11 @@ export const ProjectCollaborators = ({
147147
)}
148148
{partOfOrganization ? (
149149
canMigrate && offChainId ? (
150-
<OutlinedButton onClick={migrateProject} className="mt-25">
150+
<OutlinedButton
151+
// avoid passing the click event as first argument of migrateProject
152+
onClick={() => void migrateProject()}
153+
className="mt-25"
154+
>
151155
{_(MIGRATE_PROJECT)}
152156
</OutlinedButton>
153157
) : (

0 commit comments

Comments
 (0)