Skip to content

Commit

Permalink
🚚 new minimark in components/rmrk/Gallery/Appreciation.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
vikiival committed Apr 12, 2023
1 parent 6a66129 commit 0f94bce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/rmrk/Gallery/Appreciation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import groupBy from '@/utils/groupBy'
import RmrkVersionMixin from '@/utils/mixins/rmrkVersionMixin'
import { notificationTypes, showNotification } from '@/utils/notification'
import { Interaction, createInteraction } from '@kodadot1/minimark'
import { Interaction, createInteraction } from '@kodadot1/minimark/v1'
import emojiUnicode from 'emoji-unicode'
import { Component, Prop, mixins } from 'nuxt-property-decorator'
import { VEmojiPicker } from 'v-emoji-picker'
Expand Down Expand Up @@ -88,7 +88,7 @@ export default class Appreciation extends mixins(
const emote = emojiUnicode(emoji.data).split(' ')[0].toUpperCase()
if (emote) {
showNotification(`[EMOTE] Selected ${emoji.data} or ${emote}`)
const rmrk = createInteraction(Interaction.EMOTE, version, nftId, emote)
const rmrk = createInteraction(Interaction.EMOTE, nftId, emote)
await this.submit(rmrk)
} else {
showNotification('[EMOTE] Unable to emote', notificationTypes.warn)
Expand Down

0 comments on commit 0f94bce

Please sign in to comment.