1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 15:59:41 +02:00

fix(app/environment): console errors related to usage of React components [EE-3760] (#7310)

This commit is contained in:
LP B 2022-07-26 17:50:49 +02:00 committed by GitHub
parent 728e885b9d
commit b059641c80
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View file

@ -27,6 +27,10 @@ export function Breadcrumbs({ breadcrumbs }: Props) {
}
function renderCrumb(crumb: Crumb | string) {
if (!crumb) {
return '';
}
if (typeof crumb === 'string') {
return crumb;
}