diff options
Diffstat (limited to 'src/components/Card.js')
| -rw-r--r-- | src/components/Card.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/Card.js b/src/components/Card.js index 3394859..bbf29f9 100644 --- a/src/components/Card.js +++ b/src/components/Card.js | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | import React, { useState, useEffect } from 'react'; | ||
| 2 | import QRCode from 'qrcode.react'; | 1 | import QRCode from 'qrcode.react'; |
| 2 | import { useEffect, useState } from 'react'; | ||
| 3 | import './style.css'; | 3 | import './style.css'; |
| 4 | 4 | ||
| 5 | export const Card = () => { | 5 | export const Card = () => { |
| @@ -51,7 +51,7 @@ export const Card = () => { | |||
| 51 | 51 | ||
| 52 | <div className="text"> | 52 | <div className="text"> |
| 53 | <label>Network name</label> | 53 | <label>Network name</label> |
| 54 | <input | 54 | <textarea |
| 55 | id="ssid" | 55 | id="ssid" |
| 56 | type="text" | 56 | type="text" |
| 57 | maxLength="32" | 57 | maxLength="32" |
| @@ -60,7 +60,7 @@ export const Card = () => { | |||
| 60 | onChange={(e) => setNetwork({ ...network, ssid: e.target.value })} | 60 | onChange={(e) => setNetwork({ ...network, ssid: e.target.value })} |
| 61 | /> | 61 | /> |
| 62 | <label>Password</label> | 62 | <label>Password</label> |
| 63 | <input | 63 | <textarea |
| 64 | id="password" | 64 | id="password" |
| 65 | type="text" | 65 | type="text" |
| 66 | maxLength="63" | 66 | maxLength="63" |
