Skip to content

Commit

Permalink
refactor: rm console log statements
Browse files Browse the repository at this point in the history
  • Loading branch information
fearandesire committed Oct 26, 2024
1 parent dc6a8fe commit c37060e
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/interaction-handlers/ButtonListener.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,12 +216,7 @@ export class ButtonHandler extends InteractionHandler {

try {
const prop = await propsApi.getPropById(payload.propId);
console.log({
message: 'Prop found',
data: {
prop,
},
});

if (!prop) {
throw new Error('Prop not found');
}
Expand All @@ -246,7 +241,6 @@ export class ButtonHandler extends InteractionHandler {
}
} else {
// ? Creating a prediction
console.log(`Creating a prediction for ${payload.propId}`);
// NOTE: Must sanitize the choice
// Restore the space - replace _
const sanitizedChoice = payload.action.replace(/_/g, ' ');
Expand Down

0 comments on commit c37060e

Please sign in to comment.