This commit is contained in:
john 2025-05-17 23:18:37 +02:00
parent 313f1def49
commit 36f5eef849
12 changed files with 39 additions and 23 deletions

View file

@ -2,7 +2,7 @@ import { useUser } from '../app/user/userStore'
import NavLinkButton from './NavLinkButton'
export default function NavBar() {
const [user] = useUser()
const { user } = useUser()
const loggedIn = user != null

View file

@ -106,7 +106,6 @@ async function createAttachment(file: File): Promise<Attachment> {
const objectUrl = URL.createObjectURL(file)
const { width, height } = await getImageFileDimensions(objectUrl)
console.debug('width', width, 'height', height)
return {
id: crypto.randomUUID(),
file,