Skip to content

Commit

Permalink
refactor: Fix some high 'sonarqube' issues (#1617)
Browse files Browse the repository at this point in the history
  • Loading branch information
NigelBreslaw authored May 13, 2024
1 parent e7e597c commit 68024a9
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion mono/apps/site/src/styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ html {
}

body {
font-family: -apple-system, BlinkMacSystemFont, Avenir Next, Segoe UI, Roboto, Noto Sans, Helvetica Neue;
font-family: -apple-system, BlinkMacSystemFont, Avenir Next, Segoe UI, Roboto, Noto Sans, Helvetica Neue, sans-serif;
-webkit-font-smoothing: antialiased;
color: var(--secondary);
}
Expand Down
2 changes: 1 addition & 1 deletion mono/examples/default-project/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { createSignal } from "solid-js";
import viteLogo from "/vite.svg";
import viteLogo from "./vite.svg";
import "./App.css";
import solidLogo from "./assets/solid.svg";

Expand Down
2 changes: 1 addition & 1 deletion native/app/inventory/logic/Sockets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ function expandAndCreateSockets(itemHash: number): Sockets | null {
for (const socketCategory of minifiedSocketCategories) {
const socketCategoryHash = SocketCategoryHash[socketCategory.h] ?? null;
const socketIndexes = SocketIndexes[socketCategory.i];
if (!socketIndexes || !socketIndexes) {
if (!socketIndexes) {
console.log("No socketIndexes!! return null");
return null;
}
Expand Down
1 change: 0 additions & 1 deletion native/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
flex-basis: auto;
flex-grow: 1;
display: flex;
flex: 1;
}

html {
Expand Down

0 comments on commit 68024a9

Please sign in to comment.