JaeHyeok Song

apply lineQR in page

1 +import React from 'react';
2 +
3 +const LineQR = () => {
4 + return (
5 + <div>
6 + <img
7 + src="https://qr-official.line.me/sid/L/215xiena.png"
8 + width="130"
9 + />
10 + </div>
11 + );
12 +};
13 +
14 +export default LineQR
...\ No newline at end of file ...\ No newline at end of file
...@@ -8,7 +8,7 @@ import Paper from '@material-ui/core/Paper'; ...@@ -8,7 +8,7 @@ import Paper from '@material-ui/core/Paper';
8 import Grid from '@material-ui/core/Grid'; 8 import Grid from '@material-ui/core/Grid';
9 import CircularProgress from '@material-ui/core/CircularProgress'; 9 import CircularProgress from '@material-ui/core/CircularProgress';
10 import styled from 'styled-components'; 10 import styled from 'styled-components';
11 -import KakaoLoginBtn from './KakaoLogin' 11 +import LineQR from './LineQR'
12 12
13 const useStyles = makeStyles((theme) => ({ 13 const useStyles = makeStyles((theme) => ({
14 root: { 14 root: {
...@@ -84,11 +84,8 @@ const SettingForm = ({ ...@@ -84,11 +84,8 @@ const SettingForm = ({
84 84
85 <Grid container item xs={6}> 85 <Grid container item xs={6}>
86 <Paper className={classes.paper} elevation={3}> 86 <Paper className={classes.paper} elevation={3}>
87 - <h1>카카오 로그인</h1> 87 + <h1>QR코드를 찍어주세요</h1>
88 - <KakaoLoginBtn 88 + <LineQR></LineQR>
89 - profile={profile}
90 - onChange={onChange}
91 - />
92 </Paper> 89 </Paper>
93 </Grid> 90 </Grid>
94 91
......