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

feat: migrate routes to modals #406

Closed
wants to merge 18 commits into from
Closed

feat: migrate routes to modals #406

wants to merge 18 commits into from

Conversation

elcharitas
Copy link
Member

No description provided.

@elcharitas elcharitas marked this pull request as ready for review April 19, 2024 08:28
@elcharitas elcharitas marked this pull request as draft April 19, 2024 09:00
@elcharitas elcharitas marked this pull request as ready for review April 19, 2024 09:00
Copy link
Contributor

@Xavier-Charles Xavier-Charles left a comment

Choose a reason for hiding this comment

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

Generally looks good

packages/frontend/src/api/hooks/index.ts Outdated Show resolved Hide resolved
packages/frontend/src/api/hooks/useHistory.ts Outdated Show resolved Hide resolved
return context;
};

const MODAL_HISTORY = new Set<string>();
Copy link
Contributor

Choose a reason for hiding this comment

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

Any benefits of putting this outside and not using a useState

Copy link
Member Author

Choose a reason for hiding this comment

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

useState would be an overkill and wiould cause rerenders.

@elcharitas elcharitas marked this pull request as draft April 19, 2024 10:58
@elcharitas elcharitas marked this pull request as ready for review April 19, 2024 10:59
@elcharitas elcharitas marked this pull request as draft April 19, 2024 12:45
@elcharitas elcharitas marked this pull request as ready for review April 19, 2024 12:45
@elcharitas
Copy link
Member Author

Great work here but, We won't be continuing with this

@elcharitas elcharitas closed this Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants