Skip to content

Conversation

@hardikmodi1
Copy link

@hardikmodi1 hardikmodi1 commented Oct 15, 2019

What kind of change does this PR introduce?

This PR refactor /app/pages/Profile/index.js to use OverMind and change it to tsx file.

What steps did you take to test this? This is required before we can merge, make sure to test the flow you've updated.

  1. yarn test successful
  2. yarn lint is not successful but the error is not related to the scope of this PR
  3. yarn start successful

Checklist

  • Testing
  • Ready to be merged

@Saeris Saeris added Hacktoberfest 🔨 Refactor 🧠 Overmind Indicates that this is related to the app's State Management labels Oct 16, 2019
@@ -1,482 +0,0 @@
'use strict';
Copy link
Member

Choose a reason for hiding this comment

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

Why did you delete this? 🤔

Copy link
Author

Choose a reason for hiding this comment

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

I am trying to add this file again but then it is failing on pre-commit hook!

@@ -0,0 +1,90 @@
/* @flow */
Copy link
Contributor

@christianalfoni christianalfoni Oct 17, 2019

Choose a reason for hiding this comment

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

Suggested change
/* @flow */

Do not need this anymore :)

Copy link
Contributor

@christianalfoni christianalfoni left a comment

Choose a reason for hiding this comment

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

Looks good! 👍 😄

If you just commit the suggestion on remove @flow thingy and bring back the deleted file we are good to go. Let us know if you have any issues bringing back the file!

@hardikmodi1
Copy link
Author

Bringing back the lru-cache.js file gives error on pre-commit hook

@MichaelDeBoey
Copy link
Contributor

Duplicate of #2729

@MichaelDeBoey MichaelDeBoey marked this as a duplicate of #2729 Nov 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🧠 Overmind Indicates that this is related to the app's State Management 🔨 Refactor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants