NavLink->Link, NavButton->Button, remove redirects for now

This commit is contained in:
Ivan Shmidt
2020-06-04 00:03:34 +02:00
parent 6a0daf10ca
commit af56473342
16 changed files with 83 additions and 119 deletions
+2 -1
View File
@@ -33,6 +33,7 @@ import {
OAuthRequestDialog,
} from '@backstage/core';
import * as defaultApiFactories from './apiFactories';
import SentimentDissatisfiedIcon from '@material-ui/icons/SentimentDissatisfied';
// TODO(rugvip): export proper plugin type from core that isn't the plugin class
type BackstagePlugin = ReturnType<typeof createPlugin>;
@@ -148,7 +149,7 @@ class DevAppBuilder {
key={target.path}
to={target.path}
text={target.title}
icon={target.icon}
icon={target.icon ?? SentimentDissatisfiedIcon}
/>,
);
break;