Skip to content

Commit

Permalink
Merge pull request #70 from ETLOnline/hotfix/development-build-fix
Browse files Browse the repository at this point in the history
build fix
  • Loading branch information
usama-tariq1 authored Jan 21, 2025
2 parents 5ad7ac2 + 9fb687d commit 843ab94
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/app/(home)/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import { Carousel, CarouselContent, CarouselItem } from "@/src/components/ui/car
import SkillTag from "@/src/components/HomePageComponents/SkillTag/SkillTag";
import MentorCard from "@/src/components/HomePageComponents/MentorCard/MentorCard";
import SessionCard from '@/src/components/HomePageComponents/SessionCard/SessionCard';
import Container from '@/src/components/Container/Container';
import StatCardList from '@/src/components/StatCard/StatCardList';
import MissionCardList from '@/src/components/MissionCard/MissionCardList';
import Container from '@/src/components/container/Container';


export default function Home() {
Expand Down
9 changes: 6 additions & 3 deletions src/components/TagsInput/TagsInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,12 @@ const TagsInput: React.FC<TagsInputProps> = ({
}
}
} else if (e.key === "ArrowDown") {
suggestions.length
? setSelectedSuggestionIndex((prev) => (prev + 1) % suggestions.length)
: setSelectNewTag(true)
if(suggestions.length){
setSelectedSuggestionIndex((prev) => (prev + 1) % suggestions.length)
}else{
setSelectNewTag(true)
}

} else if (e.key === "ArrowUp") {
if (suggestions.length) {
setSelectedSuggestionIndex(
Expand Down

0 comments on commit 843ab94

Please sign in to comment.