Skip to content

Commit

Permalink
fix: eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
sharevb committed Jun 16, 2024
1 parent 239b7e0 commit 5bc8da9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/image-to-css/image-to-css.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { stringToUrl } from 'svg-to-url';
export type CSSType = 'Background' | 'Border' | 'ListItemBullet' | 'Url';

async function fileToDataUrl(file: File) {
if (file.type === 'image/svg+xml'){
if (file.type === 'image/svg+xml') {
const svgContent = (await (new Promise<string>((resolve, reject) => {
const reader = new FileReader();
reader.readAsText(file);
Expand Down

0 comments on commit 5bc8da9

Please sign in to comment.