Skip to content

Commit

Permalink
feat: update routing
Browse files Browse the repository at this point in the history
  • Loading branch information
danilaplee committed Jan 25, 2025
1 parent 7da5231 commit 056d2d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pexels-grid/src/components/Gallery.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default function Gallery({
<div style={{ position: "fixed", top: 20, left: 20, zIndex: 10000 }}>
<Button
className="inline-flex items-center gap-2 rounded-md bg-gray-700 py-1.5 px-3 text-sm/6 font-semibold text-white shadow-inner shadow-white/10 focus:outline-none data-[hover]:bg-gray-600 data-[open]:bg-gray-700 data-[focus]:outline-1 data-[focus]:outline-white"
onClick={() => router.replace("/")}
onClick={() => router.push("/")}
>
Home
</Button>
Expand Down

0 comments on commit 056d2d3

Please sign in to comment.