Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENG-3716 fix(portal): fix navigation on error page (#809)
## Affected Packages Apps - [x] portal Packages - [ ] 1ui - [ ] api - [ ] protocol - [ ] sdk Tools - [ ] tools ## Overview The navigation buttons on the error page weren't properly refreshing or navigating when used. Modified them slightly so that they should work appropriately. ## Screen Captures If applicable, add screenshots or screen captures of your changes. ## Declaration - [x] I hereby declare that I have abided by the rules and regulations as outlined in the [CONTRIBUTING.md](https://github.com/0xIntuition/intuition-ts/blob/main/CONTRIBUTING.md) **PR Summary by Typo** ------------ **Summary:** Replaced a NavigationButton with a Button for non-root error pages and updated the props for the home button. **Key Points:** - Replaced `NavigationButton` with a `Button` for non-root error pages. - Updated home button props to use `PATHS.ROOT` and a click event for `window.location.reload()` instead of `to=""` and `reloadDocument` prop. **Categories:** **Components:** error-page.tsx - Replaced `NavigationButton` with `Button`. - Updated home button props. **Changes:** - Used a `Button` instead of `NavigationButton`. - Changed home button props to `PATHS.ROOT` and `window.location.reload()` event. <h6>To turn off PR summary, please visit <a href="https://app.typoapp.io/settings/dev-analytics/notification?tab=codeHealth">Notification settings</a>.</h6>
- Loading branch information