Skip to content

Commit

Permalink
fix: remove console log
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikmv committed Nov 19, 2024
1 parent db59321 commit 0ee305a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ export const EventChangelogWrapper = ({ formFoundation, eventId, ...passOnProps
const elements = formFoundation.getElements();
const contextLabels = formFoundation.getLabels();

console.log('formFoundation: ', formFoundation);

const fieldElementsById = elements.reduce((acc, element: DataElement) => {
const { optionSet } = element;
const metadata = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ const getMetadataItemDefinition = (
change: Change,
dataItemDefinitions: ItemDefinitions,
) => {
console.log('dataItemDefinitions: ', dataItemDefinitions);
const { dataElement, attribute, property } = change;
const fieldId = dataElement ?? attribute ?? property;
const metadataElement = fieldId ? dataItemDefinitions[fieldId] : dataItemDefinitions[elementKey];
Expand Down Expand Up @@ -116,7 +115,7 @@ export const useChangelogData = ({
},
},
},
/* {
{
createdAt: '2024-11-14T11:09:47.437',
createdBy: {
uid: 'xE7jOejl9FI',
Expand Down Expand Up @@ -166,7 +165,7 @@ export const useChangelogData = ({
currentValue: 'Fresh',
},
},
}, */
},
], []);


Expand All @@ -191,8 +190,6 @@ export const useChangelogData = ({
return null;
}

console.log('metadataElement: ', metadataElement);

const { firstName, surname, username } = createdBy;
const { options } = metadataElement;

Expand Down

0 comments on commit 0ee305a

Please sign in to comment.