Skip to content

Commit

Permalink
feat: 修改导入数据
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaojingjing committed Apr 16, 2024
1 parent 3d7442f commit 236f651
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Form } from 'shim-antd'
import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react'
import { React } from 'shim-react'
import { useTranslation } from 'react-i18next'
import { EmailScene } from '../../Type'
import { useGuardView } from '../../Guard/core/hooks/useGuardView'
Expand All @@ -23,6 +23,8 @@ import {
import { InviteContext, useRegisterHandleHook } from '../interface'
import './style.less'

const { useCallback, useEffect, useMemo, useRef, useState } = React

export const GuardAuthenticationView = () => {
const initData = useGuardInitData<InviteContext>()

Expand Down
2 changes: 1 addition & 1 deletion packages/guard-core-v4/src/Invitation/Complete/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react'
import { React } from 'shim-react'
import { useTranslation } from 'react-i18next'
import { ChangeLanguage } from '../../ChangeLanguage'
import { CompleteInfo } from '../../CompleteInfo/core/completeInfo'
Expand Down
2 changes: 1 addition & 1 deletion packages/guard-core-v4/src/Invitation/Error/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react'
import { React } from 'shim-react'
import { GuardErrorView } from '../../Error'
import { i18n } from '../../_utils/locales'

Expand Down
2 changes: 1 addition & 1 deletion packages/guard-core-v4/src/Invitation/Success/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react'
import { React } from 'shim-react'
import { GuardMessageView } from '../../Message'

export const GuardInviteSuccessView = () => {
Expand Down
3 changes: 2 additions & 1 deletion packages/guard-core-v4/src/Invitation/interface.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { message as messageNote } from 'shim-antd'
import { useCallback } from 'react'
import { React } from 'shim-react'
import { GuardModuleType } from '../Guard/module'
import { useGuardAuthClient } from '../Guard/authClient'
import { Lang } from '../Type'
Expand All @@ -10,6 +10,7 @@ import {
} from '../_utils/context'
import { getGuardHttp } from '../_utils/guardHttp'

const { useCallback } = React
export interface InviteContext {
// autoLogin: boolean
token: string
Expand Down

0 comments on commit 236f651

Please sign in to comment.