mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +00:00
Remove unneeded props
This commit is contained in:
parent
9511dc0408
commit
bbd6e2dd61
@ -37,9 +37,6 @@ export function HeaderView({
|
||||
editCallback?: any
|
||||
deleteCallback?: any
|
||||
setPositionCallback?: any
|
||||
itemNameField?: string
|
||||
itemAvatarField?: string
|
||||
itemSubnameField?: string
|
||||
loading?: boolean
|
||||
hideMenu?: boolean
|
||||
big?: boolean
|
||||
@ -60,9 +57,7 @@ export function HeaderView({
|
||||
}, [item])
|
||||
|
||||
const avatar =
|
||||
appState.assetsApi.url +
|
||||
item.avatar +
|
||||
`${big ? '?width=160&heigth=160' : '?width=80&heigth=80'}`
|
||||
appState.assetsApi.url + item.image + `${big ? '?width=160&heigth=160' : '?width=80&heigth=80'}`
|
||||
const title = item.name
|
||||
const subtitle = item.subname
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user