diff --git a/components/JobDropdown/index.tsx b/components/JobDropdown/index.tsx index 30a76750..9e7843ef 100644 --- a/components/JobDropdown/index.tsx +++ b/components/JobDropdown/index.tsx @@ -41,7 +41,7 @@ const JobDropdown = React.forwardRef( // Set current job from state on mount useEffect(() => { - if (party.job.id !== '-1') { + if (party.job?.id !== '-1') { setCurrentJob(party.job) } }, [])