Refactor codebase

This commit is contained in:
Emil Gulamov 2024-09-08 05:32:44 +04:00
parent bdcf0dfde9
commit dc0e780116
9 changed files with 1 additions and 1 deletions

View file

@ -77,7 +77,7 @@ import Icon from "./icons/Icon.astro";
if ( if (
url.pathname.includes("/post") || url.pathname.includes("/post") ||
url.pathname.includes("/insight") || url.pathname.includes("/insight") ||
url.pathname.includes("/products") url.pathname.includes("/item")
) { ) {
if (url.pathname.includes("en")) { if (url.pathname.includes("en")) {
pathParts.unshift(lang); pathParts.unshift(lang);