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

Bump the nextjs group across 1 directory with 6 updates #157

Merged
merged 2 commits into from
Sep 22, 2024
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
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
Loading