full width routes table in component detail
@@ -23,7 +23,6 @@ import { HttpRoute } from "types/route";
import { CopyAsCurl } from "widgets/CopyAsCurl";
import { OpenInBrowser } from "widgets/OpenInBrowser";
import { Targets } from "widgets/Targets";
-import { FlexRowItemCenterBox } from "widgets/Box";
import { CenterTypography } from "widgets/Label";
const styles = (theme: Theme) =>
@@ -121,12 +120,12 @@ export const RouteWidgets = ({
activeNamespaceName: string;
}) => {
return (
- <FlexRowItemCenterBox>
+ <>
{routes.size > 0 ? (
<RouteWidget routes={routes} activeNamespaceName={activeNamespaceName} />
) : (
<CenterTypography>No Route</CenterTypography>
)}
- </FlexRowItemCenterBox>
+ </>
);
};
