lint fix wip
This commit is contained in:
parent
a061cee73a
commit
7fdd71278e
@ -59,7 +59,6 @@ export async function buildPresentationEvent(
|
||||
linkWithPreview,
|
||||
`Présentation personnelle : ${presentation}`,
|
||||
`Description de votre contenu : ${contentDescription}`,
|
||||
`Adresse Bitcoin mainnet (pour le sponsoring) : ${draft.mainnetAddress}`,
|
||||
].join('\n')
|
||||
|
||||
// Build profile JSON for metadata (stored in tag, not in content)
|
||||
|
||||
@ -214,7 +214,7 @@ export class ConfigStorage {
|
||||
*/
|
||||
async getPlatformLightningAddress(): Promise<string> {
|
||||
const config = await this.getConfig()
|
||||
return config.platformLightningAddress || DEFAULT_PLATFORM_LIGHTNING_ADDRESS
|
||||
return config.platformLightningAddress ?? DEFAULT_PLATFORM_LIGHTNING_ADDRESS
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -43,7 +43,7 @@ class PlatformSyncService {
|
||||
const { relaySessionManager } = await import('./relaySessionManager')
|
||||
const activeRelays = await relaySessionManager.getActiveRelays()
|
||||
const initialRelay = activeRelays[0] ?? 'Connecting...'
|
||||
const totalRelays = activeRelays.length || 1
|
||||
const totalRelays = activeRelays.length ?? 1
|
||||
syncProgressManager.setProgress({ currentStep: 0, totalSteps: totalRelays, completed: false, currentRelay: initialRelay })
|
||||
|
||||
try {
|
||||
|
||||
@ -42,7 +42,7 @@ function I18nProvider({ children }: { children: React.ReactNode }): React.ReactE
|
||||
return <div className="min-h-screen bg-cyber-darker flex items-center justify-center text-neon-cyan">Loading...</div>
|
||||
}
|
||||
|
||||
return <>{children}</>
|
||||
return children as React.ReactElement
|
||||
}
|
||||
|
||||
export default function App({ Component, pageProps }: AppProps): React.ReactElement {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user