Skip to content

Commit 9328a41

Browse files
committed
Fix lint
1 parent 2fd4bb4 commit 9328a41

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/builder/app/builder/shared/commands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ export const { emitCommand, subscribeCommands } = createCommandsEmitter({
525525
{
526526
name: "pasteHtmlWithTailwindClasses",
527527
handler: async () => {
528-
let html = await navigator.clipboard.readText();
528+
const html = await navigator.clipboard.readText();
529529
let fragment = generateFragmentFromHtml(html);
530530
fragment = await generateFragmentFromTailwind(fragment);
531531
return insertWebstudioFragmentAt(fragment);

apps/builder/app/shared/tailwind/tailwind.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const parseTailwindClasses = async (classes: string) => {
3636
// to prevent bloating css with preflights from previous calls
3737
const generator = await createUnoGenerator();
3838
const generated = await generator.generate(classes);
39-
let css = generated.css;
39+
const css = generated.css;
4040
let parsedStyles: Omit<ParsedStyleDecl, "selector">[] = [];
4141
// @todo probably builtin in v4
4242
if (css.includes("border")) {

0 commit comments

Comments
 (0)