- Added game settings - Reworked GamePropsSchema for only relevant information -> Prisma schema and zod object - Imporved toast notifications - No duplicate socket connections anymore - Using now Zustand for the gameProps instead of React Context & State
13 lines
230 B
TypeScript
13 lines
230 B
TypeScript
import React from "react"
|
|
|
|
function profileImg(src: string) {
|
|
return (
|
|
<img
|
|
style={{ transform: "scale(1.5)", borderRadius: "100%" }}
|
|
src={src}
|
|
alt="profile picture"
|
|
/>
|
|
)
|
|
}
|
|
|
|
export default profileImg
|