Skip to content

Commit 2d927c8

Browse files
committed
chore: remove SwitchThemeDialog component and related files
1 parent 3083012 commit 2d927c8

File tree

8 files changed

+13
-351
lines changed

8 files changed

+13
-351
lines changed

.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,12 @@ storybook-static
4343
.yalc
4444
yalc.lock
4545
.build-cache
46+
47+
.yarn/*
48+
!.yarn/cache
49+
!.yarn/patches
50+
!.yarn/plugins
51+
!.yarn/releases
52+
!.yarn/sdks
53+
!.yarn/versions
54+
.pnp.*

.storybook/preview.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import {
1212
ConfirmationModalProvider,
1313
BaseConfirmationModal,
1414
useTheme,
15+
SwitchThemeDialog,
1516
} from '@devtron-labs/devtron-fe-common-lib'
16-
import { SwitchThemeDialog } from '../src/Pages/Shared'
1717
import './storybook.css'
1818

1919
const SwitchThemeDialogWrapper = () => {
@@ -46,7 +46,7 @@ const preview: Preview = {
4646
<ConfirmationModalProvider>
4747
<div id={DEVTRON_BASE_MAIN_ID}>
4848
<div className="dc__border-bottom mb-10">
49-
<ThemeSwitcher onChange={noop} />
49+
<ThemeSwitcher />
5050
</div>
5151
<BrowserRouter>
5252
<Story />

src/Pages/Shared/SwitchThemeDialog/SwitchThemeDialog.component.tsx

Lines changed: 0 additions & 227 deletions
This file was deleted.

src/Pages/Shared/SwitchThemeDialog/SwitchThemeDialog.scss

Lines changed: 0 additions & 44 deletions
This file was deleted.

src/Pages/Shared/SwitchThemeDialog/index.ts

Lines changed: 0 additions & 17 deletions
This file was deleted.

src/Pages/Shared/SwitchThemeDialog/types.ts

Lines changed: 0 additions & 58 deletions
This file was deleted.

src/Pages/Shared/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,3 @@
1515
*/
1616

1717
export * from './OrganizationFrame'
18-
export * from './SwitchThemeDialog'

0 commit comments

Comments
 (0)