[feat] tray powerplan items and seperators
This commit is contained in:
@@ -55,7 +55,7 @@ const Avatar = () => {
|
||||
<img
|
||||
src={
|
||||
steam.currentUser()?.avatar
|
||||
? `data:image/png;base64,${steam.currentUser()?.avatar || ''}`
|
||||
? `data:image/png;base64,${steam.currentUser()?.avatar || ""}`
|
||||
: "/logo_square.png"
|
||||
}
|
||||
alt="avatar"
|
||||
@@ -72,9 +72,10 @@ const Avatar = () => {
|
||||
const SideBar = () => {
|
||||
const app = useAppStore()
|
||||
|
||||
void getVersion().then((Value) => {
|
||||
app.setVersion(Value)
|
||||
})
|
||||
if (typeof window !== "undefined")
|
||||
void getVersion().then((Value) => {
|
||||
app.setVersion(Value)
|
||||
})
|
||||
|
||||
return (
|
||||
<div
|
||||
|
||||
Reference in New Issue
Block a user