Skip to content

Commit

Permalink
test: preload image with direct path
Browse files Browse the repository at this point in the history
  • Loading branch information
Moamal-2000 committed Dec 14, 2024
1 parent 2b0f71b commit 95ff129
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Components/Home/Home.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Helmet } from "react-helmet-async";
import { productImg1 } from "src/Assets/Images/Images";
import useScrollOnMount from "src/Hooks/App/useScrollOnMount";
import CategoriesSection from "./CategoriesSection/CategoriesSection";
import FeaturedSection from "./FeaturedSection/FeaturedSection";
Expand Down Expand Up @@ -27,8 +26,7 @@ const Home = () => {
ref="preload"
as="image"
type="image/webp"
href={productImg1}
crossorigin="anonymous"
href="../../Assets/Images/introduction-product1.webp"
/>
</Helmet>

Expand Down

0 comments on commit 95ff129

Please sign in to comment.