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

2437 collapsible stamps 2 #2537

Merged
merged 8 commits into from
Jun 7, 2024
Merged

2437 collapsible stamps 2 #2537

merged 8 commits into from
Jun 7, 2024

Conversation

larisa17
Copy link
Collaborator

@larisa17 larisa17 commented Jun 3, 2024

This fixes: #2437

@larisa17 larisa17 linked an issue Jun 3, 2024 that may be closed by this pull request
@larisa17 larisa17 marked this pull request as ready for review June 5, 2024 08:21
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given that this is used only in app, I would suggest to define this in the app only.

if (dropDownOpen) handleClose();
else handleOpen();
};

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using an useCallback ( see https://react.dev/reference/react/useCallback ) on any function defined in the component probably makes sense

@larisa17 larisa17 merged commit c26d331 into main Jun 7, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

Implement Collapsible Stamp Categories on the Dashboard
2 participants