Skip to content

Commit

Permalink
Remove Icon as fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
p3rcypj committed May 27, 2024
1 parent 5827b38 commit 204d826
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webapp/pages/home/HomePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export const HomePage: React.FC = React.memo(() => {

useEffect(() => {
const icon = favicon.current;
const pageFavicon = currentPage?.favicon || currentPage?.icon;
const pageFavicon = currentPage?.favicon;

icon?.setAttribute("href", (pageType === "singleLanding" && pageFavicon) || defaultIcon);
document.title = (pageType === "singleLanding" && currentPage && translate(currentPage.name)) || defaultTitle;
Expand Down

0 comments on commit 204d826

Please sign in to comment.