Skip to content

Commit 4a6f962

Browse files
committed
style: format ui image helpers
1 parent 6485ea3 commit 4a6f962

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const MEGAPIXELS_TO_PIXELS = 1_000_000;
1+
export const MEGAPIXELS_TO_PIXELS = 1_000_000;

tools/ui/src/lib/utils/cap-img-size.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@ export function capImageDataURLSize(
1414
): Promise<string> {
1515
return new Promise((resolve, reject) => {
1616
try {
17-
1817
const mimeMatch = base64UrlImage.match(BASE64_IMAGE_URI_REGEX);
19-
18+
2019
if (!mimeMatch) {
2120
return reject(new Error('Invalid data URL format.'));
2221
}

0 commit comments

Comments
 (0)