Skip to content

Commit

Permalink
Removed debugger
Browse files Browse the repository at this point in the history
  • Loading branch information
seenanair committed Jan 31, 2024
1 parent adf1fc6 commit 3023036
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/mocks/handlers/recordInPlaceHandlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ const recordInPlaceHandlers = [
),

graphql.mutation<RecordInPlaceMutation, RecordInPlaceMutationVariables>('RecordInPlace', () => {
debugger;
return HttpResponse.json({ data: { recordInPlace: { labware: [] } } }, { status: 200 });
})
];
Expand Down
2 changes: 0 additions & 2 deletions src/pages/RecordInPlace.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ export default function RecordInPlace({
services: {
submitForm: (ctx, e) => {
if (e.type !== 'SUBMIT_FORM') return Promise.reject();
debugger;
return stanCore.RecordInPlace({ request: e.values });
}
}
Expand Down Expand Up @@ -113,7 +112,6 @@ export default function RecordInPlace({
initialValues={initialValues}
validationSchema={validationSchema}
onSubmit={async (values) => {
debugger;
//Reformat data to type InPlaceOpRequest by replacing labware field with barcodes field
const { labware, ...rest } = values;
const submitValues: InPlaceOpRequest = { ...rest, barcodes: labware.map((l) => l.barcode) };
Expand Down

0 comments on commit 3023036

Please sign in to comment.