Skip to content

Commit

Permalink
fix(onboarding-flow): v2
Browse files Browse the repository at this point in the history
  • Loading branch information
aliraza556 committed Oct 27, 2024
1 parent 7dd0766 commit b5285b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cypress/support/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Cypress.Commands.add('initialSetup', (username, budget) => {

cy.wait(['@loadAbout', '@loadLatest', '@loadStats'])

// cy.get('[data-testid="explore-graph-btn"]', { timeout: 90000 }).should('be.visible').click()
cy.get('[data-testid="explore-graph-btn"]', { timeout: 90000 }).should('be.visible').click()

cy.wait(['@getTrends'])
})
3 changes: 2 additions & 1 deletion src/components/App/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,11 @@ const LazyOnboardingModal = lazy(() =>
export const App = () => {
const [searchParams] = useSearchParams()
const query = searchParams.get('q')
const { setBudget, setNodeCount, isAdmin } = useUserStore((s) => s)
const { setBudget, setNodeCount } = useUserStore((s) => s)
const queueRef = useRef<FetchDataResponse | null>(null)
const timerRef = useRef<NodeJS.Timeout | null>(null)
const { open, visible } = useModal('onboardingFlow')
const [isAdmin] = useUserStore((s) => [s.isAdmin, s.setPubKey])

const {
setSidebarOpen,
Expand Down

0 comments on commit b5285b6

Please sign in to comment.