Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
stephmilovic committed Oct 26, 2022
1 parent 4af82c5 commit 26b1337
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

import type { ReactChild } from 'react';
import React, { createContext, useCallback, useContext, useEffect, useMemo, useState } from 'react';
import React, { createContext, useCallback, useContext, useMemo, useState } from 'react';

import useObservable from 'react-use/lib/useObservable';
import { catchError, of, timeout } from 'rxjs';
Expand Down Expand Up @@ -72,11 +72,6 @@ export const TourContextProvider = ({ children }: { children: ReactChild }) => {
_setActiveStep(1);
}, []);

useEffect(() => {
resetStep();
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [tourStatus]);

// TODO: @Steph figure out if we're allowing user to skip tour or not, implement this if so
// const onSkipTour = useCallback((stepId: SecurityStepId) => {
// // active state means the user is on this step but has not yet begun. so when the user hits skip,
Expand Down

0 comments on commit 26b1337

Please sign in to comment.