File tree Expand file tree Collapse file tree 3 files changed +9
-11
lines changed Expand file tree Collapse file tree 3 files changed +9
-11
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ import { notFound } from "next/navigation";
2323import React , { useRef , useState } from "react" ;
2424
2525export default function Content ( ) {
26- const flagEnabled = isFlagEnabled ( FEATURE_FLAGS . JOB_POST_CREATE ) ;
26+ const flagEnabled = isFlagEnabled ( FEATURE_FLAGS . JOBS ) ;
2727 const fileInputRef = useRef < HTMLInputElement > ( null ) ;
2828 const [ imgUrl , setImgUrl ] = useState < string | null > ( null ) ;
2929
@@ -42,15 +42,13 @@ export default function Content() {
4242 </ div >
4343 < Field >
4444 < div className = "flex items-center space-x-4" >
45- { imgUrl && (
46- < Image
47- src = { imgUrl }
48- width = { 80 }
49- height = { 80 }
50- alt = "Company Logo"
51- className = "rounded-[10px]"
52- />
53- ) }
45+ < Image
46+ src = { imgUrl || "/images/company_placeholder.png" }
47+ width = { 80 }
48+ height = { 80 }
49+ alt = "Company Logo"
50+ className = "rounded-[10px]"
51+ />
5452 < div >
5553 < Button
5654 color = "dark/white"
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import { posthog } from "posthog-js";
22
33export const FEATURE_FLAGS = {
44 FEATURE_FLAG_TEST : "feature-flag-test" ,
5- JOB_POST_CREATE : "job-post-create " ,
5+ JOBS : "jobs " ,
66 // Add more feature flags as needed
77} as const ;
88
You can’t perform that action at this time.
0 commit comments