1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-05 17:53:12 +02:00

[Gitar] Cleaning up Tsx files

This commit is contained in:
Gitar Bot 2024-04-02 07:52:33 +00:00
parent 1c55d6b1f9
commit 2c40c2f651
2 changed files with 1 additions and 5 deletions

View File

@ -23,7 +23,6 @@ import { EdgeUpgradeBanner } from './banners/EdgeUpgradeBanner/EdgeUpgradeBanner
import { LicenseBanner } from './banners/internalBanners/LicenseBanner';
import { Demo } from './demo/Demo';
import { OutdatedSdksBanner } from './banners/OutdatedSdksBanner/OutdatedSdksBanner';
import { useUiFlag } from '../hooks/useUiFlag';
const StyledContainer = styled('div')(() => ({
'& ul': {
@ -50,8 +49,6 @@ export const App = () => {
}
}, [authDetails, user]);
const outdatedSdksBannerEnabled = useUiFlag('outdatedSdksBanner');
return (
<SWRProvider>
<Suspense fallback={<Loader />}>
@ -72,7 +69,7 @@ export const App = () => {
<InternalBanners />
<EdgeUpgradeBanner />
<ConditionallyRender
condition={outdatedSdksBannerEnabled}
condition={true}
show={<OutdatedSdksBanner />}
/>
<StyledContainer>

View File

@ -10,7 +10,6 @@ const setupApi = (outdatedSdks: OutdatedSdksSchema) => {
testServerRoute(server, '/api/admin/metrics/sdks/outdated', outdatedSdks);
testServerRoute(server, '/api/admin/ui-config', {
flags: {
outdatedSdksBanner: true,
},
});
};