diff --git a/src/main/java/tech/jhipster/lite/generator/client/react/security/jwt/domain/ReactJwtModuleFactory.java b/src/main/java/tech/jhipster/lite/generator/client/react/security/jwt/domain/ReactJwtModuleFactory.java
index 4dcabd348a1..51f0775c1d9 100644
--- a/src/main/java/tech/jhipster/lite/generator/client/react/security/jwt/domain/ReactJwtModuleFactory.java
+++ b/src/main/java/tech/jhipster/lite/generator/client/react/security/jwt/domain/ReactJwtModuleFactory.java
@@ -35,7 +35,7 @@ public class ReactJwtModuleFactory {
-moz-osx-font-smoothing: grayscale;
display: flex;
flex-direction: column;
- justify-content:center;
+ justify-content: center;
align-items: center;\
""";
@@ -88,7 +88,7 @@ public JHipsterModule buildModule(JHipsterModuleProperties properties) {
.in(path("src/main/webapp/app/index.tsx"))
.add(lineBeforeText("import { createRoot } from 'react-dom/client';"), "import { NextUIProvider } from '@nextui-org/react';")
.add(lineBeforeText(APP), properties.indentation().times(2) + "")
- .add(lineBeforeText(""), properties.indentation().times(2) + "")
+ .add(lineBeforeText(","), properties.indentation().times(2) + "")
.add(text(APP), properties.indentation().times(1) + APP)
.and()
.in(path("src/main/webapp/app/index.css"))
diff --git a/src/main/resources/generator/client/react/src/main/webapp/app/common/primary/app/App.css.mustache b/src/main/resources/generator/client/react/src/main/webapp/app/common/primary/app/App.css.mustache
index ff420f70735..d7b8746ade6 100644
--- a/src/main/resources/generator/client/react/src/main/webapp/app/common/primary/app/App.css.mustache
+++ b/src/main/resources/generator/client/react/src/main/webapp/app/common/primary/app/App.css.mustache
@@ -8,7 +8,7 @@
}
a {
- color: #045F77;
+ color: #045f77;
text-decoration: underline;
}
diff --git a/src/main/resources/generator/client/react/src/main/webapp/app/index.tsx.mustache b/src/main/resources/generator/client/react/src/main/webapp/app/index.tsx.mustache
index 44a79759b02..af46811591d 100644
--- a/src/main/resources/generator/client/react/src/main/webapp/app/index.tsx.mustache
+++ b/src/main/resources/generator/client/react/src/main/webapp/app/index.tsx.mustache
@@ -8,5 +8,5 @@ const root = createRoot(container!);
root.render(
-
+ ,
);
diff --git a/src/main/resources/generator/client/react/src/main/webapp/app/login/primary/loginForm/index.tsx.mustache b/src/main/resources/generator/client/react/src/main/webapp/app/login/primary/loginForm/index.tsx.mustache
index f3d72dcf18f..d52ed16bdf4 100644
--- a/src/main/resources/generator/client/react/src/main/webapp/app/login/primary/loginForm/index.tsx.mustache
+++ b/src/main/resources/generator/client/react/src/main/webapp/app/login/primary/loginForm/index.tsx.mustache
@@ -15,7 +15,7 @@ const LoginForm = () => {
setUsername,
setToken,
}),
- []
+ [],
);
const onPressLoginButton = useCallback(() => setOpen(true), []);
@@ -26,24 +26,20 @@ const LoginForm = () => {
return (
- {!token ?
- (
-