diff --git a/src/components/install-commands.tsx b/src/components/install-commands.tsx index b3c3c41..5b77e6c 100644 --- a/src/components/install-commands.tsx +++ b/src/components/install-commands.tsx @@ -28,7 +28,7 @@ export const InstallCommandsMenu = forwardRef((p if (!copy) { try { setCopy(true); - if (config) + if (settings) await navigator.clipboard.writeText(generateCommand(type, settings) || ''); } catch (e) { console.error(e);