Skip to content

Commit

Permalink
bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Shruti Apte committed Jun 26, 2024
1 parent b7de777 commit 175c215
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -225,9 +225,9 @@ const AllocatedDevicesEdit = () => {
device: updatedDevices,
};

await deviceApi.post(user.id, payload);
await deviceApi.post(currentUserId, payload);
setIsLoading(false);
navigate(`/settings/devices`, { replace: true });
navigate(`${navigateToPath}/devices`, { replace: true });
};

return (
Expand Down

0 comments on commit 175c215

Please sign in to comment.