1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2026-06-13 19:35:31 -04:00

bump next (next/future/image -> next/image)

This commit is contained in:
2022-10-22 09:30:03 -04:00
parent 24f5c86299
commit 5e02027241
5 changed files with 576 additions and 554 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
import NextImage from "next/future/image";
import NextImage from "next/image";
import Link from "../Link";
import { styled, theme } from "../../lib/styles/stitches.config";
import type { ComponentProps } from "react";
import type { ImageProps as NextImageProps, StaticImageData } from "next/future/image";
import type { ImageProps as NextImageProps, StaticImageData } from "next/image";
const DEFAULT_QUALITY = 60;
const DEFAULT_WIDTH = Number.parseInt(theme.sizes.maxLayoutWidth.value, 10); // see lib/styles/stitches.config.ts