Skip to content

Commit

Permalink
Merge pull request #157 from compute-toys/dependabot/npm_and_yarn/nex…
Browse files Browse the repository at this point in the history
…tjs-886257bc03

Bump the nextjs group across 1 directory with 6 updates
  • Loading branch information
davidar authored Sep 22, 2024
2 parents e0679d2 + c213b60 commit a73859a
Show file tree
Hide file tree
Showing 5 changed files with 214 additions and 260 deletions.
4 changes: 2 additions & 2 deletions components/editor/uniformsliders.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ export default function UniformSliders() {
const setManualReload = useSetAtom(manualReloadAtom);

const sliderRefCallback = ref => {
ref && setSliderRefMap(sliderRefMap.set(ref.getUUID(), ref)); // set returns 'this'
if (ref) setSliderRefMap(sliderRefMap.set(ref.getUUID(), ref)); // set returns 'this'
};

/*
Expand Down Expand Up @@ -362,7 +362,7 @@ export default function UniformSliders() {
return 0;
}
};
uuid && setSliderRefMap(sliderRefMap.set(uuid, sliderRef));
if (uuid) setSliderRefMap(sliderRefMap.set(uuid, sliderRef));
setSliderCount(sliderCount + 1);
// recompile with new prelude
setManualReload(true);
Expand Down
2 changes: 1 addition & 1 deletion lib/util/textureutils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const validateTextureUrl = (url: string): Promise<string> => {
let urlObj: URL;
try {
urlObj = new URL(withHttps);
} catch (e) {
} catch {
throw 'Invalid URL';
}

Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"jotai": "^2.9.3",
"jotai-game": "^0.2.0",
"monaco-editor": "^0.52.0",
"next": "^14.2.5",
"next": "^14.2.13",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-draggable": "^4.4.5",
Expand All @@ -44,15 +44,15 @@
"uuid": "^10.0.0"
},
"devDependencies": {
"@cloudflare/next-on-pages": "^1.13.2",
"@next/bundle-analyzer": "^14.2.11",
"@cloudflare/next-on-pages": "^1.13.3",
"@next/bundle-analyzer": "^14.2.13",
"@types/node": "^22.5.5",
"@types/react": "^18.3.8",
"@webgpu/types": "^0.1.46",
"copy-webpack-plugin": "^12.0.2",
"depcheck": "^1.4.7",
"eslint": "^8.57.1",
"eslint-config-next": "^14.2.11",
"eslint-config-next": "^14.2.13",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.30.0",
"eslint-plugin-n": "^17.10.3",
Expand All @@ -61,7 +61,7 @@
"prettier-plugin-organize-imports": "^4.0.0",
"supabase": "^1.191.3",
"typescript": "^5.6.2",
"vercel": "^37.4.2",
"wrangler": "^3.78.4"
"vercel": "^37.5.3",
"wrangler": "^3.78.7"
}
}
2 changes: 1 addition & 1 deletion pages/profile/[username].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export default function Profile(props) {

setAvatar(filePath);
setErrorMessage(null);
} catch (error) {
} catch {
setAvatar(null);
} finally {
setUploading(false);
Expand Down
Loading

0 comments on commit a73859a

Please sign in to comment.