Skip to content

Commit

Permalink
dev(dashboard): log commit name
Browse files Browse the repository at this point in the history
  • Loading branch information
EliotAmn committed Jan 21, 2025
1 parent 40b5558 commit fa9a2c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/comps/TopBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function NavElement(props: { text: string, icon: any, link: string }) {
const navigate = useNavigate();
const is_active = window.location.pathname.startsWith(props.link);
const commit_hash = process.env.REACT_APP_COMMIT_HASH || "dev";

console.log(commit_hash)
return (
<div
className={"flex items-center text-white cursor-pointer px-5 h-full hover:bg-blue-900 transition " + (is_active ? "bg-blue-900" : "")}
Expand Down

0 comments on commit fa9a2c6

Please sign in to comment.