Skip to content

Commit

Permalink
remove console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
rtcoder committed May 6, 2023
1 parent 1507072 commit 2672fa0
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ export default function Anchor() {
setAnchor(value);
const allAnchors = getAllStructureAnchors([...structure]);
if (allAnchors.includes(value)) {
console.log(allAnchors, value)
setShowErrorMessage(true);
} else {
setShowErrorMessage(false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default function Animations(props: Props) {
setDelays([...value.delays]);
setDurations([...value.durations]);
setAnimations([...value.animations]);
console.log({value})

if (value.animations.includes('none')) {
props.onChange('', 'animationIterationCount');
props.onChange('', 'animationDirection');
Expand Down
1 change: 0 additions & 1 deletion src/components/construction/Accordion/Accordion.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ interface Props {

export default function Accordion(props: Props) {
const getChildrenItems = () => {
console.log(AccordionItem.name)
return (Array.isArray(props.children) ? props.children : [props.children])
.flat()
.filter((child) => child?.type?.name === AccordionItem.name);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ export default function CanvasOpacity(props: CanvasOpacityProps) {
}
}
const setColor = () => {
console.log(props.color)
const canvasOpacityCursorWidth = canvasOpacityCursorRef.current.width;
const [, , , a] = props.color;
setOpacity(a, false);
Expand Down

0 comments on commit 2672fa0

Please sign in to comment.