Skip to content

Commit

Permalink
Merge pull request #79
Browse files Browse the repository at this point in the history
dev
  • Loading branch information
AnnaAndrlova authored May 24, 2024
2 parents 23a7c52 + 749dba9 commit 6c2f207
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/clockSettings/components/AddClock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const AddClock = ({ clocks, setClocks }: { clocks: ClockProps[]; setClocks: Reac
};

// Sending only relevant data to the backend
const userFromStorage = storage.getUser().id;
const userFromStorage = storage.getUser().userId;
const clockToBeSend: ClockPropsResquest = {
userId: userFromStorage,
name: newClock.name,
Expand Down

0 comments on commit 6c2f207

Please sign in to comment.