-
Notifications
You must be signed in to change notification settings - Fork 31
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
[Tech] Adds wallet store #72
Conversation
refactored sidebar/Wallet component
yarn.lock
Outdated
@@ -7403,6 +7403,11 @@ jest@^28.1.3: | |||
import-local "^3.0.2" | |||
jest-cli "^28.1.3" | |||
|
|||
jotai@^1.11.2: |
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.
Are we gonna keep both Jotai and Mobx?
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.
Good one
import { makeAutoObservable } from 'mobx' | ||
import { InitializableStore } from './types' | ||
|
||
class WalletStore implements InitializableStore { |
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.
Can Mobx works on a functional approach? or only with OOP?
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.
It'll only work with OOP.
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.
Looks good, just left a few comments 👍🏽
Done:
Todo:
<--- Put the description here --->
Use the following Checklist if you have changed something on the Backend or Frontend: