Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit4e1ece4

Browse files
committed
chore(dashboard): rename sidebar -> sidemenu
1 parentef03f8f commit4e1ece4

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

‎src/containers/thread/DashboardThread/Sidebar/Group.tsx‎renamed to ‎src/containers/thread/DashboardThread/SideMenu/Group.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { FC, memo, Fragment } from 'react'
22

33
importtype{TTab,TMenuGroup,TTouched}from'../spec'
44

5-
import{Folder,Item,Title,TouchedDot}from'../styles/sidebar/group'
5+
import{Folder,Item,Title,TouchedDot}from'../styles/side_menu/group'
66
import{tabOnChange}from'../logic'
77

88
typeTProps={

‎src/containers/thread/DashboardThread/Sidebar/index.tsx‎renamed to ‎src/containers/thread/DashboardThread/SideMenu/index.tsx‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ import type { TTab, TTouched, TMenuGroup } from '../spec'
99

1010
importGroupfrom'./Group'
1111

12-
import{Wrapper}from'../styles/sidebar'
12+
import{Wrapper}from'../styles/side_menu'
1313

1414
typeTProps={
1515
curTab:TTab
1616
touched:TTouched
1717
}
1818

19-
constSidebar:FC<TProps>=({ curTab, touched})=>{
19+
constSideMenu:FC<TProps>=({ curTab, touched})=>{
2020
constgroupKeys=keys(MENU)
2121

2222
return(
@@ -37,4 +37,4 @@ const Sidebar: FC<TProps> = ({ curTab, touched }) => {
3737
)
3838
}
3939

40-
exportdefaultmemo(Sidebar)
40+
exportdefaultmemo(SideMenu)

‎src/containers/thread/DashboardThread/constant.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { SnakeUpperCase } from '@/spec'
22

33
importtype{TTab,TSettingField}from'./spec'
44

5-
import{Icon}from'./styles/sidebar'
5+
import{Icon}from'./styles/side_menu'
66

77
exportconstTAB={
88
OVERVIEW:'overview',

‎src/containers/thread/DashboardThread/index.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { FC } from 'react'
99
import{bond}from'@/utils/mobx'
1010

1111
import{TAB}from'./constant'
12-
importSidebarfrom'./Sidebar'
12+
importSideMenufrom'./SideMenu'
1313

1414
importtype{TStore}from'./store'
1515
import{Wrapper,MainWrapper}from'./styles'
@@ -44,7 +44,7 @@ const DashboardThreadContainer: FC<TProps> = ({
4444

4545
return(
4646
<Wrappertestid={testid}>
47-
<SidebarcurTab={curTab}touched={touched}/>
47+
<SideMenucurTab={curTab}touched={touched}/>
4848
<MainWrapper>
4949
{curTab===TAB.BASIC_INFO&&<BasicInfo/>}
5050
{curTab===TAB.UI&&<UIsettings={uiSettings}touched={touched}/>}
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp