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

Generic useNextItem hook #1062

Open
josh-griffin opened this issue Mar 15, 2022 · 1 comment
Open

Generic useNextItem hook #1062

josh-griffin opened this issue Mar 15, 2022 · 1 comment

Comments

@josh-griffin
Copy link
Contributor

There are a lot of useNextItem hooks for each of the current documents which handles the ok & next state for add/edit modals.

There is probably a nice solution to make this into a single generic hook

@mark-prins
Copy link
Contributor

Agree, it would be good to have a generic hook and consolidate the logic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants