Skip to content

Commit

Permalink
fix shuffle feature
Browse files Browse the repository at this point in the history
  • Loading branch information
Raghuboi committed Apr 9, 2024
1 parent bd75d63 commit 8083bd8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/features/project-tabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ const ProjectTabs: React.FC<IProjectTabs> = ({ children }) => {
setProjects(shuffledProjects);

const newProject = shuffledProjects[selectedIndex];
setSelected(newProject.slug);
router.push(`/projects/${newProject.slug}`);
};

Expand Down

0 comments on commit 8083bd8

Please sign in to comment.