File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ const LandingPage = ({ setIsLanding }: Props) => {
24
24
const navigate = useNavigate ( ) ;
25
25
26
26
// - - - - - CONTEXT - - - - -
27
- const { setCurrentPathContext } = useContext ( AuthContext ) ;
28
27
const { hueRotation, setHueDuration } = useContext ( AppContext ) ;
29
28
30
29
// - - - - - BG TRANSITION - - - - -
@@ -52,8 +51,9 @@ const LandingPage = ({ setIsLanding }: Props) => {
52
51
// - - - - - useEffects - - - - -
53
52
54
53
useEffect ( ( ) => {
55
- setCurrentPathContext ( currentPath ) ;
56
- if ( currentPath . includes ( "/gamedev" ) ||
54
+ if (
55
+ // If current path is 'complete', transition to HomeView
56
+ currentPath . includes ( "/gamedev" ) ||
57
57
currentPath . includes ( "/webdev" )
58
58
) {
59
59
setCurrBG ( pixelFadeBG ) ;
You can’t perform that action at this time.
0 commit comments