aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/components/profile/PublicProfile.tsx11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/components/profile/PublicProfile.tsx b/src/components/profile/PublicProfile.tsx
index 8d597986..3272bca1 100644
--- a/src/components/profile/PublicProfile.tsx
+++ b/src/components/profile/PublicProfile.tsx
@@ -58,16 +58,11 @@ const PublicProfile: React.FC<ContentProps> = ({userXId, screenType}) => {
new Map(),
);
- const [isStageTwoPromptClosed, setIsStageTwoPromptClosed] = useState<boolean>(
+ const [isStageTwoPromptClosed, setIsStageTwoPromptClosed] = useState(false);
+ const [isStageOnePromptClosed, setIsStageOnePromptClosed] = useState(false);
+ const [isStageThreePromptClosed, setIsStageThreePromptClosed] = useState(
false,
);
- const [isStageOnePromptClosed, setIsStageOnePromptClosed] = useState<boolean>(
- false,
- );
- const [
- isStageThreePromptClosed,
- setIsStageThreePromptClosed,
- ] = useState<boolean>(false);
const move = (direction: 'up' | 'down', title: string) => {
let categories = [...momentCategories];