Skip to content

fix(region): Clear message after submission#501

Merged
mergify[bot] merged 1 commit intobox:masterfrom
mingzexiao6:fix-message
May 29, 2020
Merged

fix(region): Clear message after submission#501
mergify[bot] merged 1 commit intobox:masterfrom
mingzexiao6:fix-message

Conversation

@mingzexiao6
Copy link
Contributor

No description provided.

@mingzexiao6 mingzexiao6 requested a review from a team as a code owner May 28, 2020 21:48
builder
.addCase(createAnnotationAction.fulfilled, state => {
state.error = null;
state.message = '';
Copy link
Collaborator

Choose a reason for hiding this comment

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

Couldn't you just return the initial state?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Couldn't you just return the initial state?

Good idea

@mergify mergify bot merged commit 409ea49 into box:master May 29, 2020
@mingzexiao6 mingzexiao6 deleted the fix-message branch August 13, 2020 00:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants