diff --git a/striker-ui/components/GeneralInitForm.tsx b/striker-ui/components/GeneralInitForm.tsx index 72bf6852..6b146bfb 100644 --- a/striker-ui/components/GeneralInitForm.tsx +++ b/striker-ui/components/GeneralInitForm.tsx @@ -38,7 +38,7 @@ type GeneralInitFormValues = { organizationPrefix?: string; }; -type GeneralInitFormForwardRefContent = { +type GeneralInitFormForwardedRefContent = { get?: () => GeneralInitFormValues; }; @@ -96,7 +96,7 @@ const buildHostName = ({ : ''; const GeneralInitForm = forwardRef< - GeneralInitFormForwardRefContent, + GeneralInitFormForwardedRefContent, { toggleSubmitDisabled?: ToggleSubmitDisabledFunction } >(({ toggleSubmitDisabled }, ref) => { const [helpMessage, setHelpMessage] = useState(); @@ -845,6 +845,6 @@ const GeneralInitForm = forwardRef< GeneralInitForm.defaultProps = { toggleSubmitDisabled: undefined }; GeneralInitForm.displayName = 'GeneralInitForm'; -export type { GeneralInitFormForwardRefContent, GeneralInitFormValues }; +export type { GeneralInitFormForwardedRefContent, GeneralInitFormValues }; export default GeneralInitForm; diff --git a/striker-ui/components/NetworkInitForm.tsx b/striker-ui/components/NetworkInitForm.tsx index 68dd86c9..0f9844f3 100644 --- a/striker-ui/components/NetworkInitForm.tsx +++ b/striker-ui/components/NetworkInitForm.tsx @@ -85,7 +85,7 @@ type NetworkInitFormValues = { networks: Omit[]; }; -type NetworkInitFormForwardRefContent = { +type NetworkInitFormForwardedRefContent = { get?: () => NetworkInitFormValues; }; @@ -583,7 +583,7 @@ NetworkForm.defaultProps = { }; const NetworkInitForm = forwardRef< - NetworkInitFormForwardRefContent, + NetworkInitFormForwardedRefContent, { toggleSubmitDisabled?: (testResult: boolean) => void } >(({ toggleSubmitDisabled }, ref) => { const [dragMousePosition, setDragMousePosition] = useState<{ @@ -1389,7 +1389,7 @@ NetworkInitForm.defaultProps = { toggleSubmitDisabled: undefined }; NetworkInitForm.displayName = 'NetworkInitForm'; export type { - NetworkInitFormForwardRefContent, + NetworkInitFormForwardedRefContent, NetworkInitFormValues, NetworkInput, NetworkInterfaceInputMap, diff --git a/striker-ui/components/StrikerInitForm.tsx b/striker-ui/components/StrikerInitForm.tsx index cbe61b1c..a89ba665 100644 --- a/striker-ui/components/StrikerInitForm.tsx +++ b/striker-ui/components/StrikerInitForm.tsx @@ -5,13 +5,13 @@ import ConfirmDialog from './ConfirmDialog'; import ContainedButton from './ContainedButton'; import FlexBox from './FlexBox'; import GeneralInitForm, { - GeneralInitFormForwardRefContent, + GeneralInitFormForwardedRefContent, GeneralInitFormValues, } from './GeneralInitForm'; import mainAxiosInstance from '../lib/singletons/mainAxiosInstance'; import MessageBox, { Message } from './MessageBox'; import NetworkInitForm, { - NetworkInitFormForwardRefContent, + NetworkInitFormForwardedRefContent, NetworkInitFormValues, } from './NetworkInitForm'; import { Panel, PanelHeader } from './Panels'; @@ -31,8 +31,8 @@ const StrikerInitForm: FC = () => { useState(false); const [isSubmittingForm, setIsSubmittingForm] = useState(false); - const generalInitFormRef = useRef({}); - const networkInitFormRef = useRef({}); + const generalInitFormRef = useRef({}); + const networkInitFormRef = useRef({}); const buildSubmitSection = useMemo( () =>