Skip to content

Commit

Permalink
Use navigate
Browse files Browse the repository at this point in the history
  • Loading branch information
zacksiri committed Feb 28, 2024
1 parent aa01be6 commit bcc5363
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/polar_web/components/layouts/app.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<div class="ml-10 flex items-baseline space-x-4">
<!-- Current: "bg-slate-900 text-white", Default: "" -->
<.link
href={~p"/"}
navigate={~p"/"}
class={
if assigns[:current_path] == ~p"/",
do: "bg-slate-900 text-white rounded-md px-3 py-2 text-sm font-medium",
Expand Down

0 comments on commit bcc5363

Please sign in to comment.