forked from Transparency/kgroad-frontend2
fixed bug with sign-in
This commit is contained in:
1 parent
7bc3e2ccb5
commit
7d36510a9b
6 files changed
+22
-14
No files matched your search
@@ -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>;
|
||||
|
||||
Reference in new issue
Block a user