diff options
author | Eug-VS <eug-vs@keemail.me> | 2020-01-28 12:41:35 +0300 |
---|---|---|
committer | Eug-VS <eug-vs@keemail.me> | 2020-01-28 12:41:35 +0300 |
commit | 6ffd9ba4fdb459eb2e425ba1bf873baf7576c3f9 (patch) | |
tree | c8c0072a5934e10e247b6899883a7a45f44b488b /src/pages/Profile | |
parent | f7488e93bc5a250ff8ebc2035d653d6cf3ed8c21 (diff) | |
download | chrono-cube-ui-6ffd9ba4fdb459eb2e425ba1bf873baf7576c3f9.tar.gz |
feat!: migrate to BENZIN library
Diffstat (limited to 'src/pages/Profile')
-rw-r--r-- | src/pages/Profile/Profile.js | 11 | ||||
-rw-r--r-- | src/pages/Profile/Registration/Registration.js | 6 |
2 files changed, 10 insertions, 7 deletions
diff --git a/src/pages/Profile/Profile.js b/src/pages/Profile/Profile.js index 783d497..6ea90c4 100644 --- a/src/pages/Profile/Profile.js +++ b/src/pages/Profile/Profile.js @@ -1,5 +1,4 @@ import React, { useState, useEffect } from 'react'; -import Window from '../../components/Window/Window'; import { Button, @@ -7,12 +6,16 @@ import { } from '@material-ui/core'; import Registration from './Registration/Registration'; -import ContentSection from '../../components/ContentSection/ContentSection'; -import SmartList from '../../components/SmartList/SmartList'; +import { + Window, + ContentSection, + SmartList, +} from 'react-benzin-test'; -import { get } from '../../requests'; import SolutionCard from '../../components/SolutionCard/SolutionCard'; +import { get } from '../../requests'; + const useStyles = makeStyles(theme => ({ primary: { diff --git a/src/pages/Profile/Registration/Registration.js b/src/pages/Profile/Registration/Registration.js index af4ec30..2aecc4a 100644 --- a/src/pages/Profile/Registration/Registration.js +++ b/src/pages/Profile/Registration/Registration.js @@ -8,8 +8,8 @@ import { Grid, } from '@material-ui/core'; -import ContentSection from '../../../components/ContentSection/ContentSection'; -import {get, post} from '../../../requests'; +import { ContentSection } from 'react-benzin-test'; +import { get, post } from '../../../requests'; const Registration = ({ setUser }) => { @@ -67,7 +67,7 @@ const Registration = ({ setUser }) => { /> </Grid> <Grid item> - <Button variant="contained" color="secondary" size="large" onClick={handleSubmit}> + <Button variant="contained" color="secondary" onClick={handleSubmit}> Submit! </Button> </Grid> |