Skip to content

Commit

Permalink
Merge branch 'release' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
aroxu authored Aug 4, 2023
2 parents ee236b4 + 4ff5a9b commit e5a44bd
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/routes/Root.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useContext, useEffect } from 'react';
import { styled, css, ThemeContext } from 'styled-components';
import { useEffect } from 'react';
import { styled, css } from 'styled-components';
import { useSetRecoilState } from 'recoil';
import { useNavigate } from 'react-router-dom';

Expand Down Expand Up @@ -38,7 +38,6 @@ const Separator = styled.div`
const Root = () => {
const navigate = useNavigate();
const setCurrentProfile = useSetRecoilState(currentProfileState);
const theme = useContext(ThemeContext);

useEffect(() => {
setCurrentProfile({});
Expand All @@ -55,7 +54,7 @@ const Root = () => {

<Separator $width='2px' />

<ProfileList theme={theme} />
<ProfileList />
</Content>
</RootContainer>
);
Expand Down

0 comments on commit e5a44bd

Please sign in to comment.