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
f572b552
Unverified
Commit
f572b552
authored
May 31, 2023
by
Joel
Committed by
GitHub
May 31, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: link prefetch deprecated. Remove warning message. (#270)
parent
554570dc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
layout.tsx
...ut)/datasets/(datasetDetailLayout)/[datasetId]/layout.tsx
+1
-1
navLink.tsx
web/app/components/app-sidebar/navLink.tsx
+0
-1
No files found.
web/app/(commonLayout)/datasets/(datasetDetailLayout)/[datasetId]/layout.tsx
View file @
f572b552
...
@@ -42,7 +42,7 @@ const LikedItem: FC<{ type?: 'plugin' | 'app'; appStatus?: boolean; detail: Rela
...
@@ -42,7 +42,7 @@ const LikedItem: FC<{ type?: 'plugin' | 'app'; appStatus?: boolean; detail: Rela
detail
,
detail
,
})
=>
{
})
=>
{
return
(
return
(
<
Link
prefetch
className=
{
s
.
itemWrapper
}
href=
{
`/app/${detail?.id}/overview`
}
>
<
Link
className=
{
s
.
itemWrapper
}
href=
{
`/app/${detail?.id}/overview`
}
>
<
div
className=
{
s
.
iconWrapper
}
>
<
div
className=
{
s
.
iconWrapper
}
>
<
AppIcon
size=
'tiny'
/>
<
AppIcon
size=
'tiny'
/>
{
type
===
'app'
&&
(
{
type
===
'app'
&&
(
...
...
web/app/components/app-sidebar/navLink.tsx
View file @
f572b552
...
@@ -18,7 +18,6 @@ export default function NavLink({
...
@@ -18,7 +18,6 @@ export default function NavLink({
return
(
return
(
<
Link
<
Link
prefetch
key=
{
name
}
key=
{
name
}
href=
{
href
}
href=
{
href
}
className=
{
classNames
(
className=
{
classNames
(
...
...
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