fix border

This commit is contained in:
Alfred Melch 2020-01-03 00:03:17 +01:00
parent fa65c41998
commit 4b79c6c8a4

View File

@ -11,8 +11,11 @@ export const Canvas = () => {
})
return (
<div className={styles.border}>
<canvas width={500} height={400} ref={canvasRef} />
</div>
<canvas
className={styles.border}
width={500}
height={400}
ref={canvasRef}
/>
)
}