Stricter compilation rules, better linting

This commit is contained in:
2025-07-19 11:34:05 +02:00
parent cb11398b3e
commit 161916e5ca
11 changed files with 247 additions and 47 deletions

View File

@ -52,7 +52,9 @@ export function NavigationConsole({ isOpen, onClose }: NavigationConsoleProps) {
}, [input, existingSpaces])
const handleShare = async () => {
if (!space) return
if (!space) {
return
}
const shareLink = generateShareLink(space)
const success = await copyToClipboard(shareLink)
@ -109,7 +111,9 @@ export function NavigationConsole({ isOpen, onClose }: NavigationConsoleProps) {
onClose()
}
if (!isOpen) return null
if (!isOpen) {
return null
}
return (
<>