lint fix wip

This commit is contained in:
Nicolas Cantu 2026-01-07 00:05:01 +01:00
parent a061cee73a
commit 7fdd71278e
4 changed files with 3 additions and 4 deletions

View File

@ -59,7 +59,6 @@ export async function buildPresentationEvent(
linkWithPreview, linkWithPreview,
`Présentation personnelle : ${presentation}`, `Présentation personnelle : ${presentation}`,
`Description de votre contenu : ${contentDescription}`, `Description de votre contenu : ${contentDescription}`,
`Adresse Bitcoin mainnet (pour le sponsoring) : ${draft.mainnetAddress}`,
].join('\n') ].join('\n')
// Build profile JSON for metadata (stored in tag, not in content) // Build profile JSON for metadata (stored in tag, not in content)

View File

@ -214,7 +214,7 @@ export class ConfigStorage {
*/ */
async getPlatformLightningAddress(): Promise<string> { async getPlatformLightningAddress(): Promise<string> {
const config = await this.getConfig() const config = await this.getConfig()
return config.platformLightningAddress || DEFAULT_PLATFORM_LIGHTNING_ADDRESS return config.platformLightningAddress ?? DEFAULT_PLATFORM_LIGHTNING_ADDRESS
} }
/** /**

View File

@ -43,7 +43,7 @@ class PlatformSyncService {
const { relaySessionManager } = await import('./relaySessionManager') const { relaySessionManager } = await import('./relaySessionManager')
const activeRelays = await relaySessionManager.getActiveRelays() const activeRelays = await relaySessionManager.getActiveRelays()
const initialRelay = activeRelays[0] ?? 'Connecting...' 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 }) syncProgressManager.setProgress({ currentStep: 0, totalSteps: totalRelays, completed: false, currentRelay: initialRelay })
try { try {

View File

@ -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 <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 { export default function App({ Component, pageProps }: AppProps): React.ReactElement {