Skip to content

Commit 4aeab7b

Browse files
committed
chore: add small delay before hiding create form
1 parent b5254e8 commit 4aeab7b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/clerk-js/src/ui/components/ApiKeys/CopyApiKeyModal.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ export const CopyApiKeyModal = ({
4141
const handleSubmit = () => {
4242
onCopy();
4343
onClose();
44-
closeActionCard();
44+
setTimeout(() => {
45+
closeActionCard();
46+
}, 100);
4547
};
4648

4749
if (!isOpen) {

0 commit comments

Comments
 (0)