Skip to content
This repository has been archived by the owner on Sep 29, 2024. It is now read-only.

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
PedroDBFlores committed Apr 28, 2024
1 parent cecd807 commit eb625fd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "client",
"version": "0.1.0",
"private": true,
"type": "module",
"dependencies": {
"@chakra-ui/react": "^2.8.2",
"@emotion/react": "^11.11.4",
Expand Down
14 changes: 7 additions & 7 deletions webapp/src/main.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import React from "react"
import ReactDOM from "react-dom"
import App from "./App"
import { createRoot } from "react-dom/client"

ReactDOM.render(
<React.StrictMode>
<App />
</React.StrictMode>,
document.getElementById("root")
)
createRoot(document.getElementById("root")!)
.render(
<React.StrictMode>
<App />
</React.StrictMode>
)
2 changes: 1 addition & 1 deletion webapp/tests/render-helpers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ WrapperWithRoutes.propTypes = {
routeConfiguration: PropTypes.array.isRequired
}

export const WrapperWithRouter: React.FC<{ children: JSX.Element; initialPath?: string, elementRoute?: string }> = ({ children, initialPath = "/", elementRoute = "" }) => <WrapperWithRoutes initialPath={initialPath}
export const WrapperWithRouter: React.FC<{ children: JSX.Element; initialPath?: string; elementRoute?: string }> = ({ children, initialPath = "/", elementRoute = "" }) => <WrapperWithRoutes initialPath={initialPath}
routeConfiguration={[
{
path: elementRoute,
Expand Down

0 comments on commit eb625fd

Please sign in to comment.