fallback in case of CanvasRenderer

This commit is contained in:
Hanusiak Piotr 2021-12-04 16:29:28 +01:00
parent 3e904447d3
commit 8016cf3c1a
4 changed files with 18 additions and 9 deletions

View file

@ -4,5 +4,5 @@ import { writable, Writable } from "svelte/store";
* A store that contains the player avatar picture
*/
export class UserWokaPictureStore {
constructor(public picture: Writable<HTMLImageElement | undefined> = writable(undefined)) {}
constructor(public picture: Writable<string | undefined> = writable(undefined)) {}
}