diff --git a/src/common/WiFiSettings/WiFiGuestForm.js b/src/common/WiFiSettings/WiFiGuestForm.js index 49d34de..05483e9 100644 --- a/src/common/WiFiSettings/WiFiGuestForm.js +++ b/src/common/WiFiSettings/WiFiGuestForm.js @@ -9,9 +9,10 @@ import React from "react"; import PropTypes from "prop-types"; -import { HELP_TEXTS } from "./constants"; +import { HELP_TEXTS, ENCRYPTIONMODES } from "./constants"; import WiFiQRCode from "./WiFiQRCode"; import PasswordInput from "../../bootstrap/PasswordInput"; +import Select from "../../bootstrap/Select"; import Switch from "../../bootstrap/Switch"; import TextInput from "../../bootstrap/TextInput"; @@ -21,6 +22,7 @@ WifiGuestForm.propTypes = { SSID: PropTypes.string.isRequired, password: PropTypes.string.isRequired, enabled: PropTypes.bool.isRequired, + encryption: PropTypes.string.isRequired, }), formErrors: PropTypes.shape({ SSID: PropTypes.string, @@ -89,6 +91,20 @@ export default function WifiGuestForm({ }))} {...props} /> +