Skip to content

Commit

Permalink
fix: formatting and cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
L10nhunter committed Dec 17, 2024
1 parent 57d352b commit 521804f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 2 additions & 0 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"node": "^21.6.2",
"serve-handler": "^6.1.5",
"socket.io-client": "^4.7.4",
"three": "^0.171.0",
"toast": "^0.5.4",
"vue": "^3.3.11",
"vue-router": "^4.2.5",
Expand All @@ -67,6 +68,7 @@
"@types/file-saver": "^2.0.7",
"@types/jsdom": "^21.1.6",
"@types/node": "^18.19.3",
"@types/three": "^0.171.0",
"@vitejs/plugin-vue": "^4.5.2",
"@vitejs/plugin-vue-jsx": "^3.1.0",
"@vue/eslint-config-prettier": "^8.0.0",
Expand Down
2 changes: 0 additions & 2 deletions client/src/components/GCode3DLiveViewer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ onMounted(async () => {
const extrusionColor = getComputedStyle(document.documentElement).getPropertyValue('--primary-color').trim() || '#7561A9';
const offscreen: OffscreenCanvas = canvas.value.transferControlToOffscreen();
console.debug(offscreen)
worker.postMessage({
type: 'init',
payload: {
Expand Down
3 changes: 1 addition & 2 deletions client/src/model/gcodeWorker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ const originalConsoleWarn = console.warn;

// Utility to suppress warnings
function withConsoleSuppression<T>(fn: () => T): T {
console.warn = () => {
};
console.warn = () => {};
const result = fn();
console.warn = originalConsoleWarn;
return result;
Expand Down
1 change: 1 addition & 0 deletions client/src/views/MainView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import draggable from 'vuedraggable'
import GCode3DImageViewer from '@/components/GCode3DImageViewer.vue'
import GCodeThumbnail from '@/components/GCodeThumbnail.vue';
import GCode3DLiveViewer from '@/components/GCode3DLiveViewer.vue';
import Gcode3DLiveRenderer from "@/components/Gcode3DLiveRenderer.vue";
import { useAssignIssue, useGetIssues, type Issue } from '@/model/issues';
import { jobTime, useAssignComment, useGetFile, useGetJobFile, useReleaseJob, useStartJob, type Job } from '@/model/jobs';
import { useRouter } from 'vue-router';
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ eventlet~=0.37.0
gunicorn~=23.0.0
websockets~=14.1
uuid~=1.30
discord.py~=2.4.0
discord.py~=2.4.0

0 comments on commit 521804f

Please sign in to comment.