-
-
Notifications
You must be signed in to change notification settings - Fork 139
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
fix: author name check #169
Conversation
🦋 Changeset detectedLatest commit: a0c87e0 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Someone is attempting to deploy a commit to a Personal Account owned by @avitorio on Vercel. @avitorio first needs to authorize it. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Thank you @kndwin ! Looking good from a quick glance. Handling author name at the form level is what I would have done. I'll review this soon. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thank you @kndwin !
Description
# Actual files changed packages/outstatic/src/components/DocumentSettings/index.tsx packages/outstatic/src/utils/hooks/useDocumentUpdateEffect.tsx
<TestWrapper>
extensionsI just extended the providers to be accessible so that if I want to manipulate them in my test, it's easier to do so (happy though to follow your lead on this). My end goal is to just show that when the payload received is
undefined
, the component is resilent enough to take cafe of it.I didn't touch the code at the mutation level (so
setLoginSession
) cause I wasn't sure if there's any other side effect ofauthor.name
beingundefined
might bring. So instead I opted in to handle it at the form / component level since I can test it (happy again to follow your lead on this one).Linting, typechecking and testing