fixed bug with sign-in

This commit is contained in:
Alibek committed 2024-03-13 16:48:13 +06:00
1 parent 7bc3e2ccb5
commit 7d36510a9b
6 files changed
+22 -14

No files matched your search

+2
View File
@@ -40,6 +40,8 @@ const BreadCrumbs: React.FC<IBreadcrumbsProps> = ({
</Link>
)}
{routes.map((route, i, array) => {
if (routes.length === 1 && routes[0] === "profile")
return null;
if (parseInt(route)) {
if (routes[0] === "news") {
return <span key={query}>{query}</span>;