- Remove deprecated Nostr chat and relay hub components, transitioning to a modular chat service for better encapsulation. - Update App.vue and Navbar.vue to utilize the new chat module, enhancing user experience with automatic peer management. - Simplify event handling and connection logic in ChatComponent.vue, ensuring compatibility with the new chat service architecture. - Adjust market settings and order history components to reflect changes in the chat module, improving overall coherence in the application structure. - Clean up unused imports and streamline configuration access for better performance and maintainability.
14 lines
550 B
Vue
14 lines
550 B
Vue
<template>
|
|
<div class="w-full px-4 sm:px-6 lg:px-8 xl:px-12 2xl:px-16 py-8 space-y-6">
|
|
<PWAInstallPrompt auto-show />
|
|
<NotificationPermission auto-show />
|
|
<NostrFeed feed-type="announcements" />
|
|
</div>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
// NostrFeed is now registered globally by the nostr-feed module
|
|
// No need to import it directly - use the modular version
|
|
import NotificationPermission from '@/components/notifications/NotificationPermission.vue'
|
|
import PWAInstallPrompt from '@/components/pwa/PWAInstallPrompt.vue'
|
|
</script>
|