Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed console.logs #628

Merged
merged 1 commit into from
Oct 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions src/components/NavItems/tools/C2pa/components/c2paCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,11 @@ import { i18nLoadNamespace } from "../../../../Shared/Languages/i18nLoadNamespac
import HelpIcon from "@mui/icons-material/Help";

const C2PaCard = (c2paData) => {
console.log(c2paData);

const [mainImageId, setMainImageId] = useState(c2paData.c2paData.mainImageId);
const [currentImageId, setCurrentImageId] = useState(
c2paData.c2paData.currentImageId,
);

console.log(mainImageId);
console.log(currentImageId);

const url = c2paData.c2paData.result[currentImageId].url;
const parentId = c2paData.c2paData.result[currentImageId].parent;
const manifestData = c2paData.c2paData.result[currentImageId].manifestData;
Expand Down Expand Up @@ -306,7 +301,6 @@ const C2PaCard = (c2paData) => {
<AccordionDetails>
{manifestData.captureInfo.allCaptureInfo.map(
(obj, key) => {
console.log(obj);
return (
<Stack key={key}>
{Object.keys(obj.data).map(
Expand Down Expand Up @@ -387,8 +381,6 @@ const C2PaCard = (c2paData) => {
<Box m={1} />
<Stack direction="row" spacing={1} p={1}>
{manifestData.children.map((obj, key) => {
console.log(manifestData);
console.log(obj);
return (
<Box key={key}>
<img
Expand Down