Skip to content

Commit

Permalink
bug fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
karabayyazilim committed Jul 2, 2024
1 parent 564cc29 commit d775630
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions resources/js/Pages/steps/step3.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ export default function Step3({data, setData}) {
};

useEffect(() => {
console.log(data.dont_camping_equipment);
setDontCampingEquipment(data.dont_camping_equipment);
setDontCampingEquipment(data.dont_camping_equipment !== 0);
}, []);

return (
Expand Down

0 comments on commit d775630

Please sign in to comment.