Skip to content
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

Updated Prettier to v3.0.0 #1690

Merged
merged 1 commit into from
Jul 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion web-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"@types/superagent": "^4.1.18",
"@types/webpack-env": "^1.18.1",
"@types/websocket": "^1.0.0",
"prettier": "^2.8.8",
"prettier": "3.0.0",
"react-scripts": "5.0.1",
"testcafe": "2.6.2",
"typescript": "^4.4.3"
Expand Down
2 changes: 1 addition & 1 deletion web-app/public/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
Expand Down
2 changes: 1 addition & 1 deletion web-app/src/MainRouter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import { baseUrl } from "./history";
const Login = React.lazy(() => import("./screens/LoginPage/LoginPage"));
const Logout = React.lazy(() => import("./screens/LogoutPage/LogoutPage"));
const LoginCallback = React.lazy(
() => import("./screens/LoginPage/LoginCallback")
() => import("./screens/LoginPage/LoginCallback"),
);

const MainRouter = () => {
Expand Down
4 changes: 2 additions & 2 deletions web-app/src/ProtectedRoutes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const ProtectedRoute = ({ Component }: ProtectedRouteProps) => {

if (res.customStyles && res.customStyles !== "") {
const overrideColorVariants = getOverrideColorVariants(
res.customStyles
res.customStyles,
);

if (overrideColorVariants !== false) {
Expand All @@ -91,7 +91,7 @@ const ProtectedRoute = ({ Component }: ProtectedRouteProps) => {
undefined,
{
"X-Anonymous": "1",
}
},
)
.then((value) => {
dispatch(setAnonymousMode());
Expand Down
2 changes: 1 addition & 1 deletion web-app/src/StyleHandler.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ interface IStyleHandler {

const StyleHandler = ({ children }: IStyleHandler) => {
const colorVariants = useSelector(
(state: AppState) => state.system.overrideStyles
(state: AppState) => state.system.overrideStyles,
);

let thm = theme;
Expand Down
2 changes: 1 addition & 1 deletion web-app/src/api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ api.request = async <T = any, E = any>({
};

export function CommonAPIValidation<D, E>(
res: HttpResponse<D, E>
res: HttpResponse<D, E>,
): HttpResponse<D, E> {
const err = res.error as Error;
if (err && err.code === 403 && err.message === "invalid session") {
Expand Down
Loading