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

Refactor disabled illustrations logic and fix JS errors #1982

Merged
merged 4 commits into from
Nov 26, 2024

Conversation

marcoskolodny
Copy link
Contributor

No description provided.

@marcoskolodny marcoskolodny changed the base branch from production to mistica-design-site November 26, 2024 17:43
@@ -123,26 +121,20 @@ const CalendarView = () => {
}
};

const calendarItems = useMemo(() => {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

No need for useMemo here. It's almost never a good practice to memorize react elements, they should be generated in render time

@@ -14,7 +14,7 @@
.bar {
background-color: var(--yellow);
display: flex;
align-items: end;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

unrelated, but my brain wouldn't let me ignore the compilation warning

@marcoskolodny marcoskolodny merged commit 347cbe2 into mistica-design-site Nov 26, 2024
1 check passed
@marcoskolodny marcoskolodny deleted the mkolodny-updates branch November 26, 2024 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant