feat: poll response notification
This commit is contained in:
@@ -2,6 +2,7 @@ import { ExtendedKind } from '@/constants'
|
||||
import { useMuteList } from '@/providers/MuteListProvider'
|
||||
import { Event, kinds } from 'nostr-tools'
|
||||
import { CommentNotification } from './CommentNotification'
|
||||
import { PollResponseNotification } from './PollResponseNotification'
|
||||
import { ReactionNotification } from './ReactionNotification'
|
||||
import { ReplyNotification } from './ReplyNotification'
|
||||
import { RepostNotification } from './RepostNotification'
|
||||
@@ -33,5 +34,8 @@ export function NotificationItem({
|
||||
if (notification.kind === ExtendedKind.COMMENT) {
|
||||
return <CommentNotification notification={notification} isNew={isNew} />
|
||||
}
|
||||
if (notification.kind === ExtendedKind.POLL_RESPONSE) {
|
||||
return <PollResponseNotification notification={notification} isNew={isNew} />
|
||||
}
|
||||
return null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user