mirror of
https://github.com/langgenius/dify.git
synced 2026-04-05 20:09:20 +08:00
refactor: route next/link through compat re-export (#33632)
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
'use client'
|
||||
import Link from 'next/link'
|
||||
import { useCallback, useState } from 'react'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import Button from '@/app/components/base/button'
|
||||
import Input from '@/app/components/base/input'
|
||||
import { useAppContext } from '@/context/app-context'
|
||||
import Link from '@/next/link'
|
||||
import { useSendDeleteAccountEmail } from '../state'
|
||||
|
||||
type DeleteAccountProps = {
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
'use client'
|
||||
import Link from 'next/link'
|
||||
import { useCallback, useEffect, useState } from 'react'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import Button from '@/app/components/base/button'
|
||||
import Input from '@/app/components/base/input'
|
||||
import Countdown from '@/app/components/signin/countdown'
|
||||
import Link from '@/next/link'
|
||||
import { useAccountDeleteStore, useConfirmDeleteAccount, useSendDeleteAccountEmail } from '../state'
|
||||
|
||||
const CODE_EXP = /[A-Z\d]{6}/gi
|
||||
|
||||
Reference in New Issue
Block a user