cleanup leftovers

This commit is contained in:
Tyler Woods
2024-06-03 16:48:58 -05:00
parent d6b2806545
commit d30abe788a

View File

@@ -61,17 +61,6 @@ function ScriptItem({
return null;
}, [installCommand, pattern]);
// const installCommand = useMemo(() => {
// if (item) {
// const key = findInstallCommandKey(item);
// return key ? item[key as keyof Script] : null;
// }
// return null;
// }, [item]);
// const pattern = /(https:\/\/github\.com\/tteck\/Proxmox\/raw\/main\/(ct|misc|vm)\/([^\/]+)\.sh)/;
// const sourceUrl = typeof installCommand === 'string' ? installCommand.match(pattern) : null;
const handleCopy = (type: string, value: any) => {
navigator.clipboard.writeText(value);