summaryrefslogtreecommitdiff
path: root/src/components/ClipboardCommands.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/ClipboardCommands.tsx')
-rw-r--r--src/components/ClipboardCommands.tsx10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/components/ClipboardCommands.tsx b/src/components/ClipboardCommands.tsx
index f96b460..5a6f38f 100644
--- a/src/components/ClipboardCommands.tsx
+++ b/src/components/ClipboardCommands.tsx
@@ -1,22 +1,16 @@
import { SmartClipboardButton } from "./SmartClipboardButton";
-import type { CustomOverrideConfig } from "../types/index";
interface ClipboardCommandsProps {
pathExists: boolean | null;
- overrideConfig?: CustomOverrideConfig | null;
}
-export function ClipboardCommands({ pathExists, overrideConfig }: ClipboardCommandsProps) {
+export function ClipboardCommands({ pathExists }: ClipboardCommandsProps) {
if (pathExists !== true) return null;
- const patchCommand = overrideConfig
- ? `${overrideConfig.envAssignment} ~/fgmod/fgmod %command%`
- : "~/fgmod/fgmod %command%";
-
return (
<>
<SmartClipboardButton
- command={patchCommand}
+ command="~/fgmod/fgmod %command%"
buttonText="Copy Patch Command"
/>