-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
chore(dashboard): bring the hrm alive #6703
Conversation
@@ -20,7 +20,7 @@ export default tseslint.config( | |||
rules: { | |||
...reactHooks.configs.recommended.rules, | |||
'@typescript-eslint/no-explicit-any': 'warn', | |||
'react-refresh/only-export-components': ['warn', { allowConstantExport: true }], | |||
'react-refresh/only-export-components': ['error', { allowConstantExport: true }], |
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.
react-refresh
eslint rule to split the exported components should be an error
@@ -1,7 +1,7 @@ | |||
import { useRouteError } from 'react-router-dom'; | |||
|
|||
export default function ErrorPage() { | |||
const error = useRouteError() as any; | |||
const error = useRouteError() as { statusText?: string; message: string }; |
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.
fixed a bunch any types
@@ -11,6 +10,7 @@ import { Mail3Fill } from './mail-3-fill'; | |||
import { Notification5Fill } from './notification-5-fill'; | |||
import { Sms } from './sms'; | |||
import { IconType } from 'react-icons/lib'; | |||
import { StepTypeEnum } from '@/utils/enums'; |
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.
copied types from @novu/shared
which was a problem for HMR
novu
@novu/client
@novu/framework
@novu/headless
@novu/js
@novu/nextjs
@novu/nest
@novu/node
@novu/notification-center
@novu/providers
@novu/react-native
@novu/react
@novu/shared
@novu/stateless
commit: |
✅ Deploy Preview for novu-stg-vite-dashboard-poc ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
What changed? Why was the change needed?
Dashboard - bring the HMR alive.
Screenshots
Expand for optional sections
Related enterprise PR
Special notes for your reviewer