Docs: unused variable removed

The `const ctx` declaration in `loop` shadows the `let ctx` declaration in the outer scope. 
This change removes the outer declaration.
pull/3407/head
Christian Engen 5 years ago committed by GitHub
parent 3bbfccc4cc
commit 8f284c0f9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2,7 +2,6 @@
import { onMount } from 'svelte';
let canvas;
let ctx;
let running = false;
const r = Math.random();
@ -56,4 +55,4 @@
bind:this={canvas}
width={32}
height={32}
></canvas>
></canvas>

Loading…
Cancel
Save