aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-02-20 10:31:14 -0500
committerIvan Chen <ivan@tagg.id>2021-02-20 10:31:14 -0500
commit064437a278cf368038c79816319e076d477397e4 (patch)
tree7dba285f4944b1a5d138071f850927ab7a90b4ee
parent7695e36491fdd076cd4f388c7258f3bf52cf0a10 (diff)
fixed issues
-rw-r--r--src/components/profile/Content.tsx7
-rw-r--r--src/routes/Routes.tsx2
2 files changed, 5 insertions, 4 deletions
diff --git a/src/components/profile/Content.tsx b/src/components/profile/Content.tsx
index d047cc2f..e75ae949 100644
--- a/src/components/profile/Content.tsx
+++ b/src/components/profile/Content.tsx
@@ -109,9 +109,10 @@ const Content: React.FC<ContentProps> = ({y, userXId, screenType}) => {
const [isStageOnePromptClosed, setIsStageOnePromptClosed] = useState<boolean>(
false,
);
- const [isStageThreePromptClosed, setIsStageThreePromptClosed] = useState<
- boolean
- >(false);
+ const [
+ isStageThreePromptClosed,
+ setIsStageThreePromptClosed,
+ ] = useState<boolean>(false);
const onRefresh = useCallback(() => {
const refrestState = async () => {
diff --git a/src/routes/Routes.tsx b/src/routes/Routes.tsx
index bf137445..1cbc9bc5 100644
--- a/src/routes/Routes.tsx
+++ b/src/routes/Routes.tsx
@@ -39,7 +39,7 @@ const Routes: React.FC = () => {
});
if (!userId) {
- // userLogin(dispatch, {userId: '', username: ''});
+ userLogin(dispatch, {userId: '', username: ''});
} else {
SplashScreen.hide();
}