Skip to content

Commit

Permalink
fix(swaps): deepscan issues
Browse files Browse the repository at this point in the history
  • Loading branch information
hassnian committed Jan 27, 2025
1 parent f20e038 commit ea35e6d
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
1 change: 0 additions & 1 deletion components/trade/TradeActivityTableRow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,6 @@ import {
type TradeNftItem,
TradeType,
TradeDesiredTokenType,
TradeStatus,
} from '@/components/trade/types'
const EXPIRATION_FORMAT = 'dd.MM. HH:MM'
Expand Down
2 changes: 1 addition & 1 deletion components/trade/TradeOwnerButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<script setup lang="ts">
import { NeoButton, NeoIcon, NeoTooltip } from '@kodadot1/brick'
import type { ButtonConfig } from '../profile/types'
import { TradeType, TradeStatus, type TradeNftItem } from '@/components/trade/types'
import { TradeType, type TradeNftItem } from '@/components/trade/types'
const emit = defineEmits(['click:main', 'click:counter-swap'])
const props = defineProps<{
Expand Down
5 changes: 1 addition & 4 deletions components/trade/overviewModal/Details.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,7 @@
<script setup lang="ts">
import { useIsTradeOverview } from './utils'
import { formatToNow } from '@/utils/format/time'
import {
type TradeNftItem,
TradeStatus,
} from '@/components/trade/types'
import { type TradeNftItem } from '@/components/trade/types'
import type { NFT } from '@/types'
const props = defineProps<{
Expand Down
1 change: 1 addition & 0 deletions components/trade/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,5 @@ export type TradeNftItem<T = Trade> = T & {
desiredType: TradeDesiredTokenType
isAnyTokenInCollectionDesired: boolean
targets: string[]
isExpired: boolean
}

0 comments on commit ea35e6d

Please sign in to comment.