Skip to content

Commit adc9d4f

Browse files
committed
Added some changes
1 parent 8761907 commit adc9d4f

File tree

3 files changed

+9
-11
lines changed

3 files changed

+9
-11
lines changed

app/(app)/jobs/create/_client.tsx

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import { notFound } from "next/navigation";
2323
import React, { useRef, useState } from "react";
2424

2525
export 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"
1.73 KB
Loading

utils/flags.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { posthog } from "posthog-js";
22

33
export 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

0 commit comments

Comments
 (0)