Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dify
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ai-tech
dify
Commits
ff7f161a
Commit
ff7f161a
authored
Jun 27, 2023
by
StyleZhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: delete useless code
parent
b23fb2c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
index.tsx
web/app/components/header/index.tsx
+0
-3
No files found.
web/app/components/header/index.tsx
View file @
ff7f161a
...
...
@@ -11,7 +11,6 @@ import AppNav from './app-nav'
import
DatasetNav
from
'./dataset-nav'
import
s
from
'./index.module.css'
import
type
{
GithubRepo
,
LangGeniusVersionResponse
,
UserProfileResponse
}
from
'@/models/common'
import
NewAppDialog
from
'@/app/(commonLayout)/apps/NewAppDialog'
import
{
WorkspaceProvider
}
from
'@/context/workspace-context'
import
{
Grid01
}
from
'@/app/components/base/icons/src/vender/line/layout'
import
{
Grid01
as
Grid01Solid
}
from
'@/app/components/base/icons/src/vender/solid/layout'
...
...
@@ -40,7 +39,6 @@ const Header: FC<IHeaderProps> = ({
isBordered
,
})
=>
{
const
{
t
}
=
useTranslation
()
const
[
showNewAppDialog
,
setShowNewAppDialog
]
=
useState
(
false
)
const
showEnvTag
=
langeniusVersionInfo
.
current_env
===
'TESTING'
||
langeniusVersionInfo
.
current_env
===
'DEVELOPMENT'
const
selectedSegment
=
useSelectedLayoutSegment
()
const
isPluginsComingSoon
=
selectedSegment
===
'plugins-coming-soon'
...
...
@@ -142,7 +140,6 @@ const Header: FC<IHeaderProps> = ({
</
WorkspaceProvider
>
</
div
>
</
div
>
<
NewAppDialog
show=
{
showNewAppDialog
}
onClose=
{
()
=>
setShowNewAppDialog
(
false
)
}
/>
</
div
>
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment