mirror of
https://github.com/9technologygroup/patchmon.net.git
synced 2025-11-12 09:57:39 +00:00
Fix missing useId variables in Settings component
- Restored all missing useId() variables that were accidentally removed - Fixed ReferenceError: protocolId is not defined - Settings page should now work correctly
This commit is contained in:
@@ -24,8 +24,18 @@ import {
|
||||
} from "../utils/api";
|
||||
|
||||
const Settings = () => {
|
||||
const _scriptFileId = useId();
|
||||
const _scriptContentId = useId();
|
||||
const repoPublicId = useId();
|
||||
const repoPrivateId = useId();
|
||||
const useCustomSshKeyId = useId();
|
||||
const protocolId = useId();
|
||||
const hostId = useId();
|
||||
const portId = useId();
|
||||
const updateIntervalId = useId();
|
||||
const defaultRoleId = useId();
|
||||
const githubRepoUrlId = useId();
|
||||
const sshKeyPathId = useId();
|
||||
const scriptFileId = useId();
|
||||
const scriptContentId = useId();
|
||||
const [formData, setFormData] = useState({
|
||||
serverProtocol: "http",
|
||||
serverHost: "localhost",
|
||||
|
||||
Reference in New Issue
Block a user