chore: remove something
This commit is contained in:
parent
2dd4e866d2
commit
4bd4141b54
2 changed files with 2 additions and 20 deletions
|
|
@ -15,7 +15,6 @@ import {
|
|||
} from 'react'
|
||||
import BackgroundAudio from './components/BackgroundAudio'
|
||||
import BottomNavigationBar from './components/BottomNavigationBar'
|
||||
import CreateWalletGuideToast from './components/CreateWalletGuideToast'
|
||||
import TooManyRelaysAlertDialog from './components/TooManyRelaysAlertDialog'
|
||||
import { normalizeUrl } from './lib/url'
|
||||
import { NotificationProvider } from './providers/NotificationProvider'
|
||||
|
|
@ -313,7 +312,6 @@ export function PageManager({ maxStackSize = 5 }: { maxStackSize?: number }) {
|
|||
))}
|
||||
<BottomNavigationBar />
|
||||
<TooManyRelaysAlertDialog />
|
||||
<CreateWalletGuideToast />
|
||||
</NotificationProvider>
|
||||
</CurrentRelaysProvider>
|
||||
</SecondaryPageContext.Provider>
|
||||
|
|
@ -374,7 +372,6 @@ export function PageManager({ maxStackSize = 5 }: { maxStackSize?: number }) {
|
|||
<div className="hidden lg:w-full lg:block" />
|
||||
</div>
|
||||
<TooManyRelaysAlertDialog />
|
||||
<CreateWalletGuideToast />
|
||||
<BackgroundAudio className="fixed bottom-20 right-0 z-50 w-80 rounded-l-full rounded-r-none overflow-hidden shadow-lg border" />
|
||||
</NotificationProvider>
|
||||
</CurrentRelaysProvider>
|
||||
|
|
@ -454,7 +451,6 @@ export function PageManager({ maxStackSize = 5 }: { maxStackSize?: number }) {
|
|||
</div>
|
||||
</div>
|
||||
<TooManyRelaysAlertDialog />
|
||||
<CreateWalletGuideToast />
|
||||
<BackgroundAudio className="fixed bottom-20 right-0 z-50 w-80 rounded-l-full rounded-r-none overflow-hidden shadow-lg border" />
|
||||
</NotificationProvider>
|
||||
</CurrentRelaysProvider>
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@ import Explore from '@/components/Explore'
|
|||
import FollowingFavoriteRelayList from '@/components/FollowingFavoriteRelayList'
|
||||
import NoteList from '@/components/NoteList'
|
||||
import Tabs from '@/components/Tabs'
|
||||
import { Button } from '@/components/ui/button'
|
||||
import { ExtendedKind } from '@/constants'
|
||||
import PrimaryPageLayout from '@/layouts/PrimaryPageLayout'
|
||||
import { getReplaceableEventIdentifier } from '@/lib/event'
|
||||
|
|
@ -10,7 +9,7 @@ import { getDefaultRelayUrls } from '@/lib/relay'
|
|||
import { isLocalNetworkUrl, isOnionUrl, isWebsocketUrl } from '@/lib/url'
|
||||
import storage from '@/services/local-storage.service'
|
||||
import { TPageRef } from '@/types'
|
||||
import { Compass, Plus } from 'lucide-react'
|
||||
import { Compass } from 'lucide-react'
|
||||
import { NostrEvent } from 'nostr-tools'
|
||||
import { forwardRef, useCallback, useMemo, useRef, useState } from 'react'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
|
|
@ -89,20 +88,7 @@ function ExplorePageTitlebar() {
|
|||
<Compass />
|
||||
<div className="text-lg font-semibold">{t('Explore')}</div>
|
||||
</div>
|
||||
<Button
|
||||
variant="ghost"
|
||||
size="titlebar-icon"
|
||||
className="relative w-fit px-3"
|
||||
onClick={() => {
|
||||
window.open(
|
||||
'https://github.com/CodyTseng/awesome-nostr-relays/issues/new?template=add-relay.md',
|
||||
'_blank'
|
||||
)
|
||||
}}
|
||||
>
|
||||
<Plus size={16} />
|
||||
{t('Submit Relay')}
|
||||
</Button>
|
||||
{/* Placeholder for future right-aligned items */}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue