wip
This commit is contained in:
parent
313f1def49
commit
36f5eef849
12 changed files with 39 additions and 23 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue