Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
uche789 committed Nov 8, 2024
1 parent 86670e0 commit 64e1679
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/components/language-dropdown.tsx/LanguageDropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ const [isOpen, setIsOpen] = useState(false);


const toggleDropdown = () => {
console.log('comes here')
setIsOpen(!isOpen)
};

Expand Down
2 changes: 1 addition & 1 deletion src/features/layout/components/app-footer/AppFooter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default function AppFooter() {

const getnavClasses = (to: string) => {
let className = "px-2 flex flex-col justify-center items-center"
if (window.location.pathname.startsWith(`/${params.lang}${to}`)) {
if (window.location.pathname.startsWith(`/learn-german/${params.lang}${to}`)) {
className += " font-semibold text-pink-600"
}
return className;
Expand Down

0 comments on commit 64e1679

Please sign in to comment.