Christopher Chedeau hace 5 años
padre
commit
c7eebd42c1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/scene/data.ts

+ 1 - 1
src/scene/data.ts

@@ -161,7 +161,7 @@ export async function importFromBackend(id: string | null) {
   const data = await fetch(`${BACKEND_GET}${id}.json`)
     .then(response => {
       if (!response.ok) {
-        window.alert(i18n.t("alerts.importBackendFailed"));
+        window.alert(t("alerts.importBackendFailed"));
       }
       return response;
     })