Skip to content

Commit

Permalink
fix: lint:fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarsen136 committed Sep 16, 2024
1 parent 632943a commit df2e074
Show file tree
Hide file tree
Showing 17 changed files with 374 additions and 355 deletions.
4 changes: 2 additions & 2 deletions components/collection/activity/ActivityChart.vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<template>
<PriceChart
v-if="events.length > 0"
v-model:hideOutliers="hideOutliers"
v-model:applySmoothing="applySmoothing"
v-model:hide-outliers="hideOutliers"
v-model:apply-smoothing="applySmoothing"
:price-chart-data="chartData"
chart-height="350px"
data-testid="collection-activity-chart"
Expand Down
8 changes: 4 additions & 4 deletions components/common/listingCart/ListingCartModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@

<ListingCartSingleItemCart
v-if="listingCartStore.count === 1"
v-model:fixedPrice="fixedPrice"
v-model:floorPricePercentAdjustment="floorPricePercentAdjustment"
v-model:fixed-price="fixedPrice"
v-model:floor-price-percent-adjustment="floorPricePercentAdjustment"
@set-fixed-price="setFixedPrice"
/>

<ListingCartMultipleItemsCart
v-else
v-model:fixedPrice="fixedPrice"
v-model:floorPricePercentAdjustment="floorPricePercentAdjustment"
v-model:fixed-price="fixedPrice"
v-model:floor-price-percent-adjustment="floorPricePercentAdjustment"
@set-fixed-price="setFixedPrice"
/>
</div>
Expand Down
2 changes: 1 addition & 1 deletion components/common/party/CursorParty.vue
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ watch(
const updateLabel
= !isEqual(prevConnection?.lastEvent, connection.lastEvent)
|| (prevConnection?.lastEvent
&& Date.now() - prevConnection.lastEvent.timestamp > 1000)
&& Date.now() - prevConnection.lastEvent.timestamp > 1000)
if (isNew || newSpent || updateLabel) {
const cursorConnection = cursorConnections.value.get(connection.id)
Expand Down
4 changes: 2 additions & 2 deletions components/create/Confirm/MintConfirmModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ const kodadotFee = computed(
const carbonlessFee = computed(
() =>
((preferencesStore.hasCarbonOffset && isNFT.value ? BASE_FEE * 2 : 0)
/ tokenPrice.value)
* Math.pow(10, decimals.value),
/ tokenPrice.value)
* Math.pow(10, decimals.value),
)
const totalFee = computed(() => {
return (
Expand Down
6 changes: 3 additions & 3 deletions components/create/CreateNft.vue
Original file line number Diff line number Diff line change
Expand Up @@ -616,9 +616,9 @@ watchEffect(() => {
// prepare nft blockNumber for redirect to detail page
if (
(transactionStatus.value === 'mint'
|| transactionStatus.value === 'list')
&& mintStatusFinalized
&& blockNumber.value
|| transactionStatus.value === 'list')
&& mintStatusFinalized
&& blockNumber.value
) {
mintedBlockNumber.value = blockNumber.value
if (!needsListing.value) {
Expand Down
4 changes: 2 additions & 2 deletions components/profile/activityTab/History.vue
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,8 @@ const createTable = (): void => {
if (previousPriceMap[nftId]) {
event['Percentage']
= ((parseInt(newEvent['meta']) - previousPriceMap[nftId])
/ previousPriceMap[nftId])
* 100
/ previousPriceMap[nftId])
* 100
}
else {
event['Percentage'] = 100
Expand Down
6 changes: 3 additions & 3 deletions components/profile/create/stages/Form.vue
Original file line number Diff line number Diff line change
Expand Up @@ -245,9 +245,9 @@ const deleteConfirmSafetyDelayText = computed(() => {
return $i18n.t('profiles.waitSeconds', [
Math.ceil(
(deleteConfirm.value.getTime()
+ DELETE_CONFIRM_SAFETY_DELAY
- now.value.getTime())
/ 1000,
+ DELETE_CONFIRM_SAFETY_DELAY
- now.value.getTime())
/ 1000,
),
])
}
Expand Down
2 changes: 1 addition & 1 deletion components/shared/DynamicGrid.vue
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const grid = computed(
() =>
props.gridSize
|| (props.gridSection
&& preferencesStore.getGridConfigBySection(props.gridSection)?.size),
&& preferencesStore.getGridConfigBySection(props.gridSection)?.size),
)
const { cols, isMobileVariant } = useDynamicGrid({
Expand Down
4 changes: 2 additions & 2 deletions components/shared/TransactionSteps/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ export const getTransactionStepDetails = (

if (
(status !== TransactionStatus.Unknown
&& step.stepStatus !== TransactionStepStatus.WAITING)
|| step.stepStatus === TransactionStepStatus.LOADING
&& step.stepStatus !== TransactionStepStatus.WAITING)
|| step.stepStatus === TransactionStepStatus.LOADING
) {
return {
text: $t('transactionSteps.loading'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const getAutoTeleportActionInteraction = (
autoTeleportAction: AutoTeleportAction,
): AutoteleportInteraction =>
(autoTeleportAction.action?.interaction
|| autoTeleportAction.interaction) as AutoteleportInteraction
|| autoTeleportAction.interaction) as AutoteleportInteraction

export default function ({
actions,
Expand Down
4 changes: 2 additions & 2 deletions composables/autoTeleport/useAutoTeleportTransitionDetails.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ export default function (
const hasBalances = computed(
() =>
(Boolean(currentChainBalance.value)
&& Object.values(sourceChainsBalances.value).every(Boolean))
|| hasFetched.balances,
&& Object.values(sourceChainsBalances.value).every(Boolean))
|| hasFetched.balances,
)

const richestChain = computed<Chain | undefined>(
Expand Down
6 changes: 3 additions & 3 deletions composables/usePrefix.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ export default function () {
const prefix = computed<Prefix>(
() =>
(sharedPrefix.value
|| validPrefixFromRoute.value
|| storage.value.selected
|| initialPrefixFromPath) as Prefix,
|| validPrefixFromRoute.value
|| storage.value.selected
|| initialPrefixFromPath) as Prefix,
)

const handlePrefixChange = (value: Prefix) => {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
"@0no-co/graphqlsp": "^1.12.14",
"@dargmuesli/nuxt-cookie-control": "^7.5.1",
"@nuxt/content": "^2.13.2",
"@nuxt/eslint": "^0.5.7",
"@nuxt/eslint": "^0.3.13",
"@nuxt/types": "^2.18.1",
"@nuxtjs/color-mode": "^3.5.1",
"@nuxtjs/device": "^3.2.2",
Expand Down
157 changes: 0 additions & 157 deletions params/components/findComponent.js

This file was deleted.

5 changes: 0 additions & 5 deletions params/components/typeRegistry.js

This file was deleted.

Loading

0 comments on commit df2e074

Please sign in to comment.