diff options
author | Michał Sapka <michal@sapka.me> | 2023-01-02 22:12:38 +0100 |
---|---|---|
committer | Michał Sapka <michal@sapka.me> | 2023-01-02 22:12:38 +0100 |
commit | 679e6588d1ef6709f9e579f8ab2fa1b3ad2ac9d8 (patch) | |
tree | fe99580d72ae2f8a2b6dd4f97e8009fe616591c0 /lib/next_image.tsx | |
parent | 8b1cecc8f08e8145173c94f6236cf843073a37f4 (diff) |
feat: remove old
Diffstat (limited to 'lib/next_image.tsx')
-rw-r--r-- | lib/next_image.tsx | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/lib/next_image.tsx b/lib/next_image.tsx deleted file mode 100644 index 6fb25bf..0000000 --- a/lib/next_image.tsx +++ /dev/null @@ -1,19 +0,0 @@ -import NextImage from "next/image"; -import { chakra } from "@chakra-ui/react"; - -const Image = chakra(NextImage, { - baseStyle: { maxH: 120, maxW: 120 }, - shouldForwardProp: (prop) => - [ - "width", - "height", - "src", - "alt", - "quality", - "placeholder", - "blurDataURL", - "loader ", - ].includes(prop), -}); - -export default Image |