summaryrefslogtreecommitdiff
path: root/client/src/components/BlurryLoadImg.tsx
diff options
context:
space:
mode:
authorMichael Hunteman <michael@huntm.net>2024-11-25 18:24:08 -0800
committerMichael Hunteman <michael@huntm.net>2024-11-25 18:24:08 -0800
commit2ccc9a5dcd85b616ed006ec88173ecc56e12c20e (patch)
tree872fb92493a3f20f29928fc9efaaf8a8195752d0 /client/src/components/BlurryLoadImg.tsx
parentea42387252c30a198f8f6251c5960f865e01b229 (diff)
Revert "Blurry load"
This reverts commit fab698d676d43a46b0fd5df592915ca12111dbcb.
Diffstat (limited to 'client/src/components/BlurryLoadImg.tsx')
-rw-r--r--client/src/components/BlurryLoadImg.tsx15
1 files changed, 0 insertions, 15 deletions
diff --git a/client/src/components/BlurryLoadImg.tsx b/client/src/components/BlurryLoadImg.tsx
deleted file mode 100644
index c28aa45..0000000
--- a/client/src/components/BlurryLoadImg.tsx
+++ /dev/null
@@ -1,15 +0,0 @@
-import React from 'react';
-import { ClassAttributes, ImgHTMLAttributes } from 'react';
-import { JSX } from 'react/jsx-runtime';
-import { useBlurryLoad } from '../useBlurryLoad.ts';
-
-export const BlurryLoadImg = (
- props: JSX.IntrinsicAttributes &
- ClassAttributes<HTMLImageElement> &
- ImgHTMLAttributes<HTMLImageElement> & { 'data-large': string }
-) => {
- useBlurryLoad();
- return (
- <img alt="" {...props} className={`blurry-load ${props.className}`}></img>
- );
-};