feat(organisms): ajustes en comportamiento de flashNotification #1167
nodejs.yml
on: pull_request
Annotations
10 errors and 2 warnings
|
test (14.21.3)
Process completed with exit code 1.
|
|
test (14.21.3):
src/organisms/Alerts/utils/useFlashNotification.ts#L22
Replace `·state,·message,·maxContent·` with `⏎··state,⏎··message,⏎··maxContent,⏎`
|
|
|
|
test (14.21.3):
src/organisms/Alerts/FlashNotification.tsx#L65
Missing return type on function
|
|
|
|
test (14.21.3):
src/organisms/Alerts/Alert.tsx#L51
Replace `⏎····typeof·children·===·'string'⏎······?·parse(DOMPurify.sanitize(children))⏎······:·children⏎` with `·typeof·children·===·'string'·?·parse(DOMPurify.sanitize(children))·:·children`
|
|
test (14.21.3):
src/organisms/Alerts/Alert.tsx#L44
Missing return type on function
|
|
test (14.21.3):
src/organisms/Alerts/Alert.tsx#L3
Replace `"html-react-parser"` with `'html-react-parser'`
|
|
|
|
test (14.21.3):
src/documentation/pages/Organisms/FlashNotification.tsx#L38
Replace `·maxContent·state="info"·message="<b>¡Grupo·creado!</b><br·/>Tu·grupo·ha·sido·creado.·Ahora·puedes·invitar·a·tus·compañeros."` with `⏎··········maxContent⏎··········state="info"⏎··········message="<b>¡Grupo·creado!</b><br·/>Tu·grupo·ha·sido·creado.·Ahora·puedes·invitar·a·tus·compañeros."⏎·······`
|
|
test (14.21.3):
src/organisms/Alerts/FlashNotification.tsx#L48
React Hook useCallback has a missing dependency: 'maxContent'. Either include it or remove the dependency array
|
|
test (14.21.3):
src/organisms/Alerts/Alert.tsx#L2
Using exported name 'DOMPurify' as identifier for default export
|