Skip to content

Commit

Permalink
fix: #1190 (#1194)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ameya02 authored Jun 13, 2023
1 parent bc483ee commit 537c684
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/pages/ProjectsPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ import { FilterContext } from '../context/FilterContext';
import { searchProject } from '../utils/searchProject';
import ProjectLoading from '../components/ProjectLoading';
import { shuffleProjects } from '../utils/paginate';
import { ThemeContext } from '../context/Theme';

function ProjectsPage() {
const Projects = [];

const { theme } = useContext(ThemeContext);
projects.forEach((project) => {
const username = project.github_username;
project.Projects.forEach((proj) => {
Expand Down Expand Up @@ -109,9 +110,10 @@ function ProjectsPage() {
type="button"
key={index.id}
onClick={() => handleOptionClick(tech)}
className={`${
selectedOptions.includes(tech) ? 'bg-primary text-white' : 'border border-primary text-white'
} rounded-sm p-2`}
className={`${selectedOptions.includes(tech) ? 'bg-primary' : 'border border-primary'} rounded-sm p-2`}
style={{
color: theme?.color,
}}
>
<span>{tech.toLowerCase()}</span>
</button>
Expand Down

1 comment on commit 537c684

@vercel
Copy link

@vercel vercel bot commented on 537c684 Jun 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

projectshut – ./

projectshut-priyankarpal.vercel.app
projectshut.vercel.app
projectshut-git-main-priyankarpal.vercel.app

Please sign in to comment.