Skip to content
This repository has been archived by the owner on Oct 18, 2021. It is now read-only.

Commit

Permalink
Remove debugging logs
Browse files Browse the repository at this point in the history
  • Loading branch information
corytheboyd committed Mar 18, 2021
1 parent 0e07db1 commit b945f2b
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,11 @@ export const KeyboardInfoWell: React.FC<PeerLaneProps> = (props) => {
Parameters<typeof setSustainInverted>[0]
>(setSustainInverted, {
onSuccess: (data, variables) => {
console.debug("RESPONSE data", data);

queryClient.setQueryData(getSessionQueryKey(variables.id), data);
},
});

const handleInvertSustain = useCallback(() => {
console.debug("toggleSustainInverted");

// TODO I have written this logic TOO MANY TIMES, something is off about
// either/all of the Session schema, missing helper functions, etc.
const session = queryClient.getQueryData(
Expand Down

0 comments on commit b945f2b

Please sign in to comment.