Skip to content

Commit ceeb3c7

Browse files
committed
Undid static import
- Undid importing landing_placeholder.png statically, as the type is not accounted for in the project's config.
1 parent 4230296 commit ceeb3c7

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

client/src/pages/about.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import Image from "next/image";
22
import Link from "next/link";
3-
import LandingPlaceholder from "@/../public/landing_placeholder.png";
43

54
import { ApiMember, useCommittee } from "@/hooks/useCommittee";
65

@@ -43,7 +42,7 @@ export default function AboutPage() {
4342
<div className="relative aspect-[4/3] w-full flex-shrink-0 overflow-hidden rounded-2xl bg-light_2 md:w-96 lg:w-[32rem]">
4443
<div className="flex h-full w-full items-center justify-center">
4544
<Image
46-
src={LandingPlaceholder}
45+
src="/landing_placeholder.png"
4746
alt="/landing_placeholder.png"
4847
fill={true}
4948
/>
@@ -63,7 +62,7 @@ export default function AboutPage() {
6362
function committeeImage(profilePic: string) {
6463
return (
6564
<Image
66-
src={profilePic === null ? LandingPlaceholder : profilePic}
65+
src={profilePic === null ? "/landing_placeholder.png" : profilePic}
6766
alt="/landing_placeholder.png"
6867
width={132}
6968
height={140}

0 commit comments

Comments
 (0)