File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import Button from '@/app/components/base/button'
8
8
import type { LangGeniusVersionResponse } from '@/models/common'
9
9
import { IS_CE_EDITION } from '@/config'
10
10
import DifyLogo from '@/app/components/base/logo/dify-logo'
11
- import { noop } from 'lodash-es'
11
+
12
12
import { useGlobalPublicStore } from '@/context/global-public-context'
13
13
14
14
type IAccountSettingProps = {
@@ -27,11 +27,11 @@ export default function AccountAbout({
27
27
return (
28
28
< Modal
29
29
isShow
30
- onClose = { noop }
30
+ onClose = { onCancel }
31
31
className = '!w-[480px] !max-w-[480px] !px-6 !py-4'
32
32
>
33
- < div >
34
- < div className = 'absolute right-4 top-4 flex h-8 w-8 cursor-pointer items-center justify-center' onClick = { onCancel } >
33
+ < div className = 'relative' >
34
+ < div className = 'absolute right-0 top-0 flex h-8 w-8 cursor-pointer items-center justify-center' onClick = { onCancel } >
35
35
< RiCloseLine className = 'h-4 w-4 text-text-tertiary' />
36
36
</ div >
37
37
< div className = 'flex flex-col items-center gap-4 py-8' >
You can’t perform that action at this time.
0 commit comments