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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Console error and warning fix #1390

Merged
merged 2 commits into from
Jan 31, 2024
Merged

Console error and warning fix #1390

merged 2 commits into from
Jan 31, 2024

Conversation

KlausMikhaelson
Copy link
Collaborator

Console error and warning fix for some useEffect, button, chatviewlist

Copy link

File: src/components/chat/w2wChat/chatBox/ChatBox.tsx

  • The code within the component is not well-formatted. Please correct the indentation.
  • There is a missing closing tag for the component. Please add before the closing tag.
  • The closing tag for the component is missing. Please add before the next line.
  • The closing tag for the component is missing. Please add before the next line.
  • The closing tag for the component is missing. Please add before the next line.

File: src/components/dropdowns/DropdownBtnHandler.tsx

  • The closing tag for the component is missing. Please add before the closing tag.
  • The closing tag for the component is missing. Please add before the closing tag.

File: src/sections/yield/YieldStatsSection.tsx

  • The calculateEpochEndDuration function is missing a closing curly brace (}). Please add it before the return statement.
  • The getFormattedDuration function is missing a closing curly brace (}). Please add it before the React.useEffect.
  • The React.useEffect for getFormattedDuration is missing a dependency array. Please add [poolStats, epochEndTime] as the second argument.
  • The closing curly brace (}) for the YieldStatsSection component is missing. Please add it before the closing tag.
  • The closing tag for the component is missing. Please add after the closing tag.
  • The closing tag for the component is missing. Please add before the next line.
  • The closing tag for the component is missing. Please add before the closing tag.

@0xNilesh 0xNilesh merged commit 56bead5 into main Jan 31, 2024
1 of 2 checks passed
@0xNilesh 0xNilesh deleted the console-error-and-warning-fix branch January 31, 2024 12:43
0xNilesh added a commit that referenced this pull request Feb 13, 2024
* partial commit

* added search and dynamic linking in chatpreviewlist

* fixed dynamic link

* added formatting for .wallet

* Resolve verifier address issue

* Console error and warning fix (#1390)

* fixed button and chatviewlist warning

* fixed memory leak in useeffect

* Push admin address updated

* added chat components

* Added Collapsable Sidebar UI (#1410)

* Sidebar Collapsable new UI and Logic (#1396)

* Sidebar Collapsable new UI and Logic

* Sidebar State persistant and Yield Farming logo done

* Sidebar components are adjusted according to the design

* Module width changes when collapsed

* Fixed the margin of dashboard, send and yield modules

* Removed the arrow in more button

* changes according to code rules

* Tooltip for collapsable sidebar

* name change

* changes

---------

Co-authored-by: Abhishek <[email protected]>

* modified 404 page not found page (#1405)

* fixed button and chatviewlist warning

* fixed memory leak in useeffect

* modified 404 not found page in dapp

* removed unnecessary styles

* few tweaks

---------

Co-authored-by: harshrajat <[email protected]>

* Moved ChatuserContext to AppContext

* fixed reviw bugs

* fixed a bug

* fix: z-index of chat profile & chat preview load on big screen

* Update user is fixed and restapi version updated

* Read only mode active when user rejects signature

* rejection toast is added and chat is ready for read mode

---------

Co-authored-by: harshrajat <[email protected]>
Co-authored-by: Monalisha Mishra <[email protected]>
Co-authored-by: Nilesh Gupta <[email protected]>
Co-authored-by: Satyam <[email protected]>
Co-authored-by: Monalisha Mishra <[email protected]>
Co-authored-by: Pritipriya Singh <[email protected]>
0xNilesh added a commit that referenced this pull request Feb 13, 2024
* upgraded push user for push chat

* Moved chat user context to app context (#1412)

* partial commit

* added search and dynamic linking in chatpreviewlist

* fixed dynamic link

* added formatting for .wallet

* Resolve verifier address issue

* Console error and warning fix (#1390)

* fixed button and chatviewlist warning

* fixed memory leak in useeffect

* Push admin address updated

* added chat components

* Added Collapsable Sidebar UI (#1410)

* Sidebar Collapsable new UI and Logic (#1396)

* Sidebar Collapsable new UI and Logic

* Sidebar State persistant and Yield Farming logo done

* Sidebar components are adjusted according to the design

* Module width changes when collapsed

* Fixed the margin of dashboard, send and yield modules

* Removed the arrow in more button

* changes according to code rules

* Tooltip for collapsable sidebar

* name change

* changes

---------

Co-authored-by: Abhishek <[email protected]>

* modified 404 page not found page (#1405)

* fixed button and chatviewlist warning

* fixed memory leak in useeffect

* modified 404 not found page in dapp

* removed unnecessary styles

* few tweaks

---------

Co-authored-by: harshrajat <[email protected]>

* Moved ChatuserContext to AppContext

* fixed reviw bugs

* fixed a bug

* fix: z-index of chat profile & chat preview load on big screen

* Update user is fixed and restapi version updated

* Read only mode active when user rejects signature

* rejection toast is added and chat is ready for read mode

---------

Co-authored-by: harshrajat <[email protected]>
Co-authored-by: Monalisha Mishra <[email protected]>
Co-authored-by: Nilesh Gupta <[email protected]>
Co-authored-by: Satyam <[email protected]>
Co-authored-by: Monalisha Mishra <[email protected]>
Co-authored-by: Pritipriya Singh <[email protected]>

---------

Co-authored-by: harshrajat <[email protected]>
Co-authored-by: Monalisha Mishra <[email protected]>
Co-authored-by: Nilesh Gupta <[email protected]>
Co-authored-by: Satyam <[email protected]>
Co-authored-by: Monalisha Mishra <[email protected]>
Co-authored-by: Pritipriya Singh <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants