diff --git a/web/lukegbcom/pages/tools/wifi-qrcode.js b/web/lukegbcom/pages/tools/wifi-qrcode.js index 25ddb4baff..b719d2160f 100644 --- a/web/lukegbcom/pages/tools/wifi-qrcode.js +++ b/web/lukegbcom/pages/tools/wifi-qrcode.js @@ -52,13 +52,18 @@ function WifiQRCode({ details }) { } WifiQRCode.getInitialProps = async (ctx) => { - const { + let { eventName, ssid, psk, hidden, } = ctx.query + eventName = eventName || '' + ssid = ssid || '' + psk = psk || '' + hidden = hidden || false + return {details: { eventName, ssid,