@@ -3,7 +3,6 @@ import type { Metadata } from 'next'
3
3
4
4
import { NotSupport } from '~/components/common/NotSupport'
5
5
import { BottomToUpSoftScaleTransitionView } from '~/components/ui/transition/BottomToUpSoftScaleTransitionView'
6
- import { BottomToUpTransitionView } from '~/components/ui/transition/BottomToUpTransitionView'
7
6
import { OnlyMobile } from '~/components/ui/viewport/OnlyMobile'
8
7
import { CommentAreaRoot } from '~/components/widgets/comment'
9
8
import { NoteMainContainer } from '~/components/widgets/note/NoteMainContainer'
@@ -20,6 +19,7 @@ import { CurrentNoteIdProvider } from '~/providers/note/CurrentNoteIdProvider'
20
19
import { queries } from '~/queries/definition'
21
20
22
21
import { Paper } from '../Paper'
22
+ import { Transition } from './Transtion'
23
23
24
24
export const generateMetadata = async ( {
25
25
params,
@@ -89,7 +89,7 @@ export default async (
89
89
< CurrentNoteDataProvider data = { data } />
90
90
< SyncNoteDataAfterLoggedIn />
91
91
92
- < BottomToUpTransitionView className = "min-w-0" >
92
+ < Transition className = "min-w-0" >
93
93
< Paper as = { NoteMainContainer } > { props . children } </ Paper >
94
94
< BottomToUpSoftScaleTransitionView delay = { 500 } >
95
95
{ isCN ? (
@@ -98,7 +98,7 @@ export default async (
98
98
< CommentAreaRoot refId = { noteObjectId } allowComment = { allowComment } />
99
99
) }
100
100
</ BottomToUpSoftScaleTransitionView >
101
- </ BottomToUpTransitionView >
101
+ </ Transition >
102
102
103
103
< OnlyMobile >
104
104
< TocFAB />
0 commit comments