mirror of
https://github.com/Buriburizaem0n/admin-frontend-domain.git
synced 2026-02-05 21:20:07 +00:00
fix: wrong variable name (#12)
This commit is contained in:
@@ -28,7 +28,7 @@ export const InstallCommandsMenu = forwardRef<HTMLButtonElement, ButtonProps>((p
|
|||||||
if (!copy) {
|
if (!copy) {
|
||||||
try {
|
try {
|
||||||
setCopy(true);
|
setCopy(true);
|
||||||
if (config)
|
if (settings)
|
||||||
await navigator.clipboard.writeText(generateCommand(type, settings) || '');
|
await navigator.clipboard.writeText(generateCommand(type, settings) || '');
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error(e);
|
console.error(e);
|
||||||
|
|||||||
Reference in New Issue
Block a user