Skip to content

Commit

Permalink
fix : setting reloading
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardofernandes21 committed May 24, 2024
1 parent 365168c commit aa1a782
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/Settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const Settings = () => {
name: clockResponse.name,
timezone: {id :clockResponse.timeOffset, name : ""}
}));
console.log("response in setting " + response + " converted clocks " + convertedClocks)
console.log("response in setting " + response.toString + " converted clocks " + convertedClocks.toString)
setClocks(convertedClocks)
} catch (error) {
console.error("Error fetching time zones:", error);
Expand All @@ -58,7 +58,7 @@ export const Settings = () => {
options={clocks}
className="mb-5 z-50"
value={selectedClock}
onChange={changeClockOnStorage(selectedClock)}
onChange={() => changeClockOnStorage(selectedClock)}
/>
) : (
<Heading text={"No clocks have been added yet"} type={"heading4"} />
Expand Down

0 comments on commit aa1a782

Please sign in to comment.