Skip to content

Commit

Permalink
Replace ts-ignore with as
Browse files Browse the repository at this point in the history
  • Loading branch information
jennydaman committed Jan 27, 2024
1 parent 288827b commit 4d963dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NiivueCanvas.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const NiivueCanvas: React.FC<NiivueCanvasProps> = ({
const nvMutator = new NiivueMutator(nv);

const setup = async () => {
await nv.attachToCanvas(canvasRef.current);
await nv.attachToCanvas(canvasRef.current as HTMLCanvasElement);
onStart && onStart(nv);
};

Expand Down

0 comments on commit 4d963dc

Please sign in to comment.