chore: tidy up the app and fix tsc warnings

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2021-06-15 12:22:26 +02:00
parent 34900b0ca6
commit 14770c4f3a
2 changed files with 4 additions and 7 deletions
+1 -1
View File
@@ -14,7 +14,7 @@
* limitations under the License.
*/
import { createApp, FlatRoutes, FeatureFlagged } from '@backstage/core-app-api';
import { createApp, FlatRoutes } from '@backstage/core-app-api';
import {
AlertDisplay,
OAuthRequestDialog,
@@ -108,7 +108,6 @@ import {
isTravisciAvailable,
} from '@roadiehq/backstage-plugin-travis-ci';
import { EntityCodeCoverageContent } from '@backstage/plugin-code-coverage';
import { FeatureFlagged } from '@backstage/core-app-api';
const EntityLayoutWrapper = (props: { children?: ReactNode }) => {
const [badgesDialogOpen, setBadgesDialogOpen] = useState(false);
@@ -283,11 +282,9 @@ const serviceEntityPage = (
{overviewContent}
</EntityLayout.Route>
<FeatureFlagged with="show-graphiql-page">
<EntityLayout.Route path="/ci-cd" title="CI/CD">
{cicdContent}
</EntityLayout.Route>
</FeatureFlagged>
<EntityLayout.Route path="/ci-cd" title="CI/CD">
{cicdContent}
</EntityLayout.Route>
<EntityLayout.Route path="/errors" title="Errors">
{errorsContent}