Skip to content

Commit eca9920

Browse files
authored
fix: wrong variable name (#12)
1 parent d1ac4fa commit eca9920

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/install-commands.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export const InstallCommandsMenu = forwardRef<HTMLButtonElement, ButtonProps>((p
2828
if (!copy) {
2929
try {
3030
setCopy(true);
31-
if (config)
31+
if (settings)
3232
await navigator.clipboard.writeText(generateCommand(type, settings) || '');
3333
} catch (e) {
3434
console.error(e);

0 commit comments

Comments
 (0)