Skip to content

Commit 5475de4

Browse files
committed
rename as settings tab
1 parent 0572d38 commit 5475de4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

packages/next/src/next-devtools/dev-overlay/components/devtools-panel/devtools-panel-tab/devtools-panel-tab.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { DevToolsPanelTabType } from '../devtools-panel'
22
import type { OverlayDispatch, OverlayState } from '../../../shared'
33

4-
import { Settings } from './settings'
4+
import { SettingsTab } from './settings-tab'
55

66
export function DevToolsPanelTab({
77
activeTab,
@@ -13,7 +13,7 @@ export function DevToolsPanelTab({
1313
dispatch: OverlayDispatch
1414
}) {
1515
if (activeTab === 'settings') {
16-
return <Settings state={state} dispatch={dispatch} />
16+
return <SettingsTab state={state} dispatch={dispatch} />
1717
}
1818

1919
if (activeTab === 'route') {

packages/next/src/next-devtools/dev-overlay/components/devtools-panel/devtools-panel-tab/settings.tsx renamed to packages/next/src/next-devtools/dev-overlay/components/devtools-panel/devtools-panel-tab/settings-tab.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function ThemeIcon({ theme }: { theme: 'dark' | 'light' | 'system' }) {
3434
}
3535
}
3636

37-
export function Settings({
37+
export function SettingsTab({
3838
state,
3939
dispatch,
4040
}: {

packages/next/src/next-devtools/dev-overlay/styles/component-styles.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import { RESTART_SERVER_BUTTON_STYLES } from '../components/errors/error-overlay
2727
import { DEVTOOLS_PANEL_STYLES } from '../components/devtools-panel/devtools-panel'
2828
import { DEVTOOLS_PANEL_FOOTER_STYLES } from '../components/devtools-panel/devtools-panel-footer'
2929
import { DEVTOOLS_PANEL_VERSION_INFO_STYLES } from '../components/devtools-panel/devtools-panel-version-info'
30-
import { DEVTOOLS_PANEL_TAB_SETTINGS_STYLES } from '../components/devtools-panel/devtools-panel-tab/settings'
30+
import { DEVTOOLS_PANEL_TAB_SETTINGS_STYLES } from '../components/devtools-panel/devtools-panel-tab/settings-tab'
3131

3232
export function ComponentStyles() {
3333
return (

0 commit comments

Comments
 (0)