mirror of
https://github.com/Buriburizaem0n/admin-frontend-domain.git
synced 2026-11-04 08:50:20 +00:00
fix: wrong variable name (#12)
This commit is contained in:
1 parent
f3a5f04392
commit
31c0e4c485
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user