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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing a potential typo in a function name - getCurrentWorkspace-> useCurrentModule #2066

Merged
merged 1 commit into from
May 27, 2024

Conversation

nsunami
Copy link
Collaborator

@nsunami nsunami commented May 16, 2024

@chartgerink This is a super tiny fix, but I noticed that the function name in useCurrentModule is now getCurrentWorkspace. It's a default export. As far as I can see, other modules import this as "useCurrentModule".

We could also change to "getCurrentModule" (since the prefix use can imply that it will return an array output from useState), but then it's a bit of nitpicky detail, so I just suggest this change for consistency only for now. 馃

@nsunami nsunami requested a review from chartgerink as a code owner May 16, 2024 16:26
@chartgerink chartgerink temporarily deployed to researchequa-nami-typof-zkcc38 May 16, 2024 16:26 Inactive
Copy link

This pull request is stale because it has been open for 2 days with no activity.

@github-actions github-actions bot added the Stale label May 27, 2024
Copy link
Member

@chartgerink chartgerink left a comment

Choose a reason for hiding this comment

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

Thanks @nsunami 馃槃 And sorry for the limited responsiveness again - I keep losing track of my notifications as github gets clogged with my dayjob 馃

@chartgerink chartgerink merged commit 6655e73 into main May 27, 2024
2 checks passed
@chartgerink chartgerink deleted the nami/typofix-workspace-to-module branch May 27, 2024 07:29
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.

None yet

2 participants