Skip to content

Commit

Permalink
fix: 🐛 update dataswapjs
Browse files Browse the repository at this point in the history
  • Loading branch information
waynewyang committed Jan 17, 2024
1 parent edbc89c commit f544f49
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 13 deletions.
17 changes: 12 additions & 5 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@ant-design/cssinjs": "^1.17.0",
"@ant-design/icons": "^5.2.6",
"@babel/preset-react": "^7.22.15",
"@dataswapjs/dataswapjs": "^0.10.1",
"@dataswapjs/dataswapjs": "^0.17.1",
"@types/node": "20.6.2",
"@types/react": "18.2.21",
"@types/react-dom": "18.2.7",
Expand Down
3 changes: 2 additions & 1 deletion src/components/description/matching/winner.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import React from "react"
import { Descriptions } from "antd"
import { convertDataToDescriptionsItems } from "@unipackage/webkit"
import { MatchingBid } from "../../../shared/types/index"
import { MatchingBid } from "@dataswapjs/dataswapjs"

interface IProps {
data: MatchingBid
}

export function MatchingWinnerDescription({ data }: IProps) {
const descriptionItems = convertDataToDescriptionsItems(data)
return <Descriptions title="Winner Info" items={descriptionItems} />
Expand Down
6 changes: 0 additions & 6 deletions src/shared/types/index.ts

This file was deleted.

0 comments on commit f544f49

Please sign in to comment.