Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
rafasdc committed May 22, 2024
1 parent 4f60def commit 61a53cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/components/Analyst/CBC/CbcAnalystLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ const StyledFormDiv = styled(FormDiv)`
interface Props {
children: JSX.Element[] | JSX.Element;
query: any;
isFormEditMode: boolean;
isFormEditMode?: boolean;
}

const CbcAnalystLayout: React.FC<Props> = ({
children,
query,
isFormEditMode,
isFormEditMode = false,
}) => {
const queryFragment = useFragment(
graphql`
Expand Down
2 changes: 0 additions & 2 deletions app/components/Review/Accordion.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,8 @@ export function getToggledState(
defaultToggle: boolean
) {
if (toggled === null || toggled === undefined) {
console.log('toggled is null or undefined', toggled);
return defaultToggle;
}
console.log('toggled is not null or undefined', toggled);
return toggled;
}

Expand Down

0 comments on commit 61a53cc

Please sign in to comment.