mirror of
https://github.com/aljazceru/rabbit.git
synced 2025-12-17 14:04:21 +01:00
update nostr-tools
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { For } from 'solid-js';
|
||||
|
||||
import { Kind } from 'nostr-tools';
|
||||
import * as Kind from 'nostr-tools/kinds';
|
||||
|
||||
// eslint-disable-next-line import/no-cycle
|
||||
import EventDisplayById from '@/components/event/EventDisplayById';
|
||||
@@ -88,7 +88,7 @@ const TextNoteContentDisplay = (props: TextNoteContentDisplayProps) => {
|
||||
eventId={item.data.data}
|
||||
actions={false}
|
||||
embedding={false}
|
||||
ensureKinds={[Kind.Text]}
|
||||
ensureKinds={[Kind.ShortTextNote]}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user