Skip to content
Draft
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 7 additions & 0 deletions source/frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@
<link rel="manifest" href="/manifest.json" />
<title>Property Inventory Management System</title>
<script src="/runtime-vars.js"></script>
<script type="module">
import RefreshRuntime from "/@react-refresh"

Check failure on line 19 in source/frontend/index.html

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Do not import modules using an absolute path

See more on https://sonarcloud.io/project/issues?id=bcgov_PSP&issues=AZ0CnuJWHr6CBjM-4x4H&open=AZ0CnuJWHr6CBjM-4x4H&pullRequest=5256
RefreshRuntime.injectIntoGlobalHook(window)

Check warning on line 20 in source/frontend/index.html

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Prefer `globalThis` over `window`.

See more on https://sonarcloud.io/project/issues?id=bcgov_PSP&issues=AZ0CnuJWHr6CBjM-4x4I&open=AZ0CnuJWHr6CBjM-4x4I&pullRequest=5256
window.$RefreshReg$ = () => {}

Check warning on line 21 in source/frontend/index.html

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Prefer `globalThis` over `window`.

See more on https://sonarcloud.io/project/issues?id=bcgov_PSP&issues=AZ0CnuJWHr6CBjM-4x4J&open=AZ0CnuJWHr6CBjM-4x4J&pullRequest=5256
window.$RefreshSig$ = () => (type) => type

Check warning on line 22 in source/frontend/index.html

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Prefer `globalThis` over `window`.

See more on https://sonarcloud.io/project/issues?id=bcgov_PSP&issues=AZ0CnuJWHr6CBjM-4x4K&open=AZ0CnuJWHr6CBjM-4x4K&pullRequest=5256
window.__vite_plugin_react_preamble_installed__ = true

Check warning on line 23 in source/frontend/index.html

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Prefer `globalThis` over `window`.

See more on https://sonarcloud.io/project/issues?id=bcgov_PSP&issues=AZ0CnuJWHr6CBjM-4x4L&open=AZ0CnuJWHr6CBjM-4x4L&pullRequest=5256
</script>
</head>

<body>
Expand Down
Loading
Loading