mirror of
https://gitlab.nic.cz/turris/reforis/foris-js.git
synced 2025-06-16 13:46:16 +02:00
Revert "Prompt as an optional element of ForisForm."
This reverts commit 75bfbb88ae
.
This commit is contained in:
@ -17,11 +17,10 @@ WiFiSettings.propTypes = {
|
||||
endpoint: PropTypes.string.isRequired,
|
||||
resetEndpoint: PropTypes.string.isRequired,
|
||||
hasGuestNetwork: PropTypes.bool,
|
||||
hasPrompt: PropTypes.bool,
|
||||
};
|
||||
|
||||
export function WiFiSettings({
|
||||
ws, endpoint, resetEndpoint, hasGuestNetwork, hasPrompt,
|
||||
ws, endpoint, resetEndpoint, hasGuestNetwork,
|
||||
}) {
|
||||
return (
|
||||
<>
|
||||
@ -34,7 +33,6 @@ export function WiFiSettings({
|
||||
prepData={prepData}
|
||||
prepDataToSubmit={prepDataToSubmit}
|
||||
validator={validator}
|
||||
hasPrompt={hasPrompt}
|
||||
>
|
||||
<WiFiForm hasGuestNetwork={hasGuestNetwork} />
|
||||
</ForisForm>
|
||||
|
Reference in New Issue
Block a user