aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/auth/AuthLayout.tsx
diff options
context:
space:
mode:
authorLibravatar MCMXC <16797721+mcmxcdev@users.noreply.github.com>2024-04-18 08:18:36 -0600
committerLibravatar GitHub <noreply@github.com>2024-04-18 08:18:36 -0600
commitc49723056acec489765acb54bae3889ac07f25af (patch)
tree58bea705d61a728b060e615ce514b8d4a7936c9e /src/components/auth/AuthLayout.tsx
parentfeat: hide all services workspace (#1713) (diff)
downloadferdium-app-c49723056acec489765acb54bae3889ac07f25af.tar.gz
ferdium-app-c49723056acec489765acb54bae3889ac07f25af.tar.zst
ferdium-app-c49723056acec489765acb54bae3889ac07f25af.zip
refactor: bring down eslint warnings to zero (#1714)
- install `@eslint-react/eslint-plugin` dependency - configure `@eslint-react/eslint-plugin` in eslint config - modernize `lint` command in `package.json` - disable or fix various reported lint issues - fix `div` being nested in `p` for settings - replace deprecated `event.keyCode` with `event.key` - update isEscKeyPress method and unit tests which used deprecated `event.keyCode` - allow `eslint` v8 as peer dependency for `@eslint-react/eslint-plugin`
Diffstat (limited to 'src/components/auth/AuthLayout.tsx')
-rw-r--r--src/components/auth/AuthLayout.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/auth/AuthLayout.tsx b/src/components/auth/AuthLayout.tsx
index 67e898318..3952045b2 100644
--- a/src/components/auth/AuthLayout.tsx
+++ b/src/components/auth/AuthLayout.tsx
@@ -106,6 +106,7 @@ class AuthLayout extends Component<IProps, IState> {
106 )} 106 )}
107 <div className="auth__layout"> 107 <div className="auth__layout">
108 {/* Inject globalError into children */} 108 {/* Inject globalError into children */}
109 {/* eslint-disable-next-line @eslint-react/no-clone-element */}
109 {cloneElement(children, { error })} 110 {cloneElement(children, { error })}
110 </div> 111 </div>
111 {/* </div> */} 112 {/* </div> */}