Skip to content

Commit 9a5ab33

Browse files
committed
changes
1 parent 1393e23 commit 9a5ab33

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/App/App.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import './App.scss';
1212
// Entry point of the Flitped App
1313
function App() {
1414
const [, setUser] = useState(null);
15-
const [username, setUsername] = useState('');
1615
const [fname, setFirstName] = useState('');
1716

1817
function storeToken(): void {
@@ -27,7 +26,6 @@ function App() {
2726
})
2827
.then((authUser) => {
2928
setUser(authUser);
30-
setUsername(authUser.username);
3129
setFirstName(authUser.attributes.given_name);
3230
})
3331
.catch(() => console.log('Not signed in'));

src/Components/Sidebar/SideBarItem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import IconExpandLess from '@material-ui/icons/ExpandLess';
1010
import IconExpandMore from '@material-ui/icons/ExpandMore';
1111
import SideBarItemComponent from './SideBarItemComponent';
1212

13-
const useStyles = makeStyles((theme) =>
13+
const useStyles = makeStyles(() =>
1414
createStyles({
1515
sideBarItem: {
1616
'&.active': {

0 commit comments

Comments
 (0)