Skip to content

Commit

Permalink
fix: wrong variable name (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
uubulb authored Nov 30, 2024
1 parent d1ac4fa commit eca9920
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/install-commands.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const InstallCommandsMenu = forwardRef<HTMLButtonElement, ButtonProps>((p
if (!copy) {
try {
setCopy(true);
if (config)
if (settings)
await navigator.clipboard.writeText(generateCommand(type, settings) || '');
} catch (e) {
console.error(e);
Expand Down

0 comments on commit eca9920

Please sign in to comment.