feat: add empty DMs box

This commit is contained in:
Vlad Stan 2023-03-07 15:23:59 +02:00
parent 192ef1770e
commit b7c099c935
5 changed files with 33 additions and 13 deletions

View file

@ -0,0 +1 @@
<div>dmmms</div>

View file

@ -0,0 +1,14 @@
async function directMessages(path) {
const template = await loadTemplateAsync(path)
Vue.component('direct-messages', {
name: 'direct-messages',
props: ['adminkey', 'inkey'],
template,
data: function () {
return {}
},
methods: {},
created: async function () {}
})
}

View file

@ -6,6 +6,7 @@ const merchant = async () => {
await stallDetails('static/components/stall-details/stall-details.html')
await stallList('static/components/stall-list/stall-list.html')
await orderList('static/components/order-list/order-list.html')
await directMessages('static/components/direct-messages/direct-messages.html')
const nostr = window.NostrTools