Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit e003fe3

Browse files
fix: null check event
1 parent 2c3178a commit e003fe3

File tree

1 file changed

+3
-1
lines changed
  • src/routes/PositionDetails/components/InterviewPopup/ManageAvailability

1 file changed

+3
-1
lines changed

src/routes/PositionDetails/components/InterviewPopup/ManageAvailability/index.jsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,9 @@ const ManageAvailability = ({ scheduleDetails, onContinue }) => {
125125

126126
// Set time zone
127127
const onChangeTimezone = (event) => {
128-
setTimezone(event.target.value);
128+
if (event && event.target) {
129+
setTimezone(event.target.value);
130+
}
129131
};
130132

131133
/**

0 commit comments

Comments
 (0)