mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-04 11:14:14 +02:00
lint fixes
This commit is contained in:
@@ -131,7 +131,7 @@ export function imageDataUrl(options?: {
|
||||
alpha?: number,
|
||||
}
|
||||
}, seed?: string): string {
|
||||
const canvas = document.createElement('canvas');
|
||||
const canvas = window.document.createElement('canvas');
|
||||
canvas.width = options?.size?.width ?? 100;
|
||||
canvas.height = options?.size?.height ?? 100;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user