Skip to content

Commit

Permalink
company-logo-url-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Aakash Singh authored and Aakash Singh committed Sep 14, 2024
1 parent 3cb2dc9 commit 2cf2e9f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/job-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@ const PostJobForm = () => {

const handleFormSubmit = async (data: JobPostSchemaType) => {
try {
data.companyLogo = (await submitImage(file)) ?? '';
data.companyLogo =
(await submitImage(file)) ?? 'https://wwww.example.com';
``;
const response = await createJob(data);
if (!response.status) {
Expand Down

0 comments on commit 2cf2e9f

Please sign in to comment.