Skip to content

Commit

Permalink
chore: upgrade api-client
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <[email protected]>
  • Loading branch information
Innei committed Jan 27, 2023
1 parent 9d989d8 commit 9cb0da0
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"kami-design": "workspace:@mx-space/kami-design@*",
"@floating-ui/react-dom": "1.2.1",
"@formkit/auto-animate": "1.0.0-beta.6",
"@mx-space/api-client": "1.0.3",
"@mx-space/api-client": "1.2.0",
"axios": "0.27.2",
"clsx": "1.2.1",
"css-spring": "4.1.0",
Expand Down
9 changes: 7 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/components/in-page/Note/NoteTopic/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Link from 'next/link'
import type { FC } from 'react'
import { useCallback, useMemo } from 'react'

import type { TopicModel } from '@mx-space/api-client/types/models/topic'
import type { TopicModel } from '@mx-space/api-client'
import { Avatar } from '@mx-space/kami-design/components/Avatar'
import { Divider } from '@mx-space/kami-design/components/Divider'
import { FloatPopover } from '@mx-space/kami-design/components/FloatPopover'
Expand Down
2 changes: 1 addition & 1 deletion src/components/in-page/Note/NoteTopic/inner-detail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Link from 'next/link'
import type { FC } from 'react'
import useSWR from 'swr'

import type { TopicModel } from '@mx-space/api-client/types/models/topic'
import type { TopicModel } from '@mx-space/api-client'
import {
Divider,
DividerVertical,
Expand Down
3 changes: 1 addition & 2 deletions src/pages/notes/topics/[topicSlug].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ import Link from 'next/link'
import { useCallback, useEffect, useState } from 'react'
import { TransitionGroup } from 'react-transition-group'

import type { NoteModel, Pager } from '@mx-space/api-client'
import type { TopicModel } from '@mx-space/api-client/types/models/topic'
import type { NoteModel, Pager, TopicModel } from '@mx-space/api-client'
import { Divider } from '@mx-space/kami-design/components/Divider'
import { RightLeftTransitionView } from '@mx-space/kami-design/components/Transition/right-left'

Expand Down
2 changes: 1 addition & 1 deletion src/pages/notes/topics/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Link from 'next/link'
import { useEffect, useState } from 'react'
import { TransitionGroup } from 'react-transition-group'

import type { TopicModel } from '@mx-space/api-client/types/models/topic'
import type { TopicModel } from '@mx-space/api-client'
import { RightLeftTransitionView } from '@mx-space/kami-design/components/Transition/right-left'

import { SEO } from '~/components/biz/Seo'
Expand Down

0 comments on commit 9cb0da0

Please sign in to comment.