Link doesnt redirect correctly
Unanswered
Barbary Lion posted this in #help-forum
Barbary LionOP
const SECTIONS =
[
{
name: "Home",
icon: faHome,
normal:
{
color: "text-red-400"
},
hover:
{
color: "hover:text-red-400"
},
}
];
export default function Sidebar()
{
<div>
{
SECTIONS.map((section, index) => (
<Link
href={`/${section.name.toLowerCase()}`}
>
test
</Link>
))
}
</div>
};when clicking on a link, it redirects me to
/, not the actual /{section.name.toLowerCase()}2 Replies
Hello, could you try to inspect this link in your browser to ensure, if there is proper URL in it?
Later we will be looking at other aspects like redirections or middlewares