fix: make it work with new vite
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import { asset } from "fresh/runtime";
|
||||
import * as CSS from "csstype";
|
||||
|
||||
interface ResponsiveAttributes {
|
||||
srcset: string;
|
||||
@@ -38,7 +37,7 @@ const Image = (
|
||||
fill?: boolean;
|
||||
width?: number | string;
|
||||
height?: number | string;
|
||||
style?: CSS.HtmlAttributes;
|
||||
style?: preact.CSSProperties;
|
||||
},
|
||||
) => {
|
||||
const responsiveAttributes = generateResponsiveAttributes(
|
||||
|
||||
Reference in New Issue
Block a user