refactor: Modify the import package path

This commit is contained in:
robin 2022-11-02 18:19:05 +08:00
parent 364a5a0e18
commit 41ff3dbbc7
3 changed files with 3 additions and 4 deletions

View File

@ -3,7 +3,7 @@ import { Card, Row, Col, Badge } from 'react-bootstrap';
import { useTranslation } from 'react-i18next';
import { Link } from 'react-router-dom';
import type * as Type from '@answer/common/interface';
import type * as Type from '@/common/interface';
interface IProps {
data: Type.AdminDashboard['info'];

View File

@ -2,7 +2,7 @@ import { FC } from 'react';
import { Card, Row, Col } from 'react-bootstrap';
import { useTranslation } from 'react-i18next';
import type * as Type from '@answer/common/interface';
import type * as Type from '@/common/interface';
interface IProps {
data: Type.AdminDashboard['info'];

View File

@ -2,8 +2,7 @@ import { FC } from 'react';
import { Card, Row, Col } from 'react-bootstrap';
import { useTranslation } from 'react-i18next';
import type * as Type from '@answer/common/interface';
import type * as Type from '@/common/interface';
import { formatUptime } from '@/utils';
interface IProps {