Parcourir la source

Formatting, npm update

binwiederhier il y a 2 ans
Parent
commit
a90bd4cd06
3 fichiers modifiés avec 104 ajouts et 470 suppressions
  1. 102 466
      web/package-lock.json
  2. 1 3
      web/src/components/ErrorBoundary.jsx
  3. 1 1
      web/vite.config.js

Fichier diff supprimé car celui-ci est trop grand
+ 102 - 466
web/package-lock.json


+ 1 - 3
web/src/components/ErrorBoundary.jsx

@@ -45,9 +45,7 @@ class ErrorBoundaryImpl extends React.Component {
     // Fetch additional info and a better stack trace
     // Fetch additional info and a better stack trace
     StackTrace.fromError(error).then((stack) => {
     StackTrace.fromError(error).then((stack) => {
       console.error("[ErrorBoundary] Stacktrace fetched", stack);
       console.error("[ErrorBoundary] Stacktrace fetched", stack);
-      const stackString = stack
-          .map((el) => `  at ${el.functionName} (${el.fileName}:${el.columnNumber}:${el.lineNumber})`)
-          .join("\n");
+      const stackString = stack.map((el) => `  at ${el.functionName} (${el.fileName}:${el.columnNumber}:${el.lineNumber})`).join("\n");
       const niceStack = `${error.toString()}\n${stackString}`;
       const niceStack = `${error.toString()}\n${stackString}`;
       this.setState({ niceStack });
       this.setState({ niceStack });
     });
     });

+ 1 - 1
web/vite.config.js

@@ -5,7 +5,7 @@ import react from "@vitejs/plugin-react";
 export default defineConfig(() => ({
 export default defineConfig(() => ({
   build: {
   build: {
     outDir: "build",
     outDir: "build",
-    assetsDir: "static/media"
+    assetsDir: "static/media",
   },
   },
   server: {
   server: {
     port: 3000,
     port: 3000,

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff