From ab538e6b2b2e1ac08270849e6ca741b727434c28 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Tue, 18 May 2021 15:16:43 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=90=20Revert=20error=20translation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nest_frontend/hooks/useRepositoryEditor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nest_frontend/hooks/useRepositoryEditor.js b/nest_frontend/hooks/useRepositoryEditor.js index 91d8325..387ad3b 100644 --- a/nest_frontend/hooks/useRepositoryEditor.js +++ b/nest_frontend/hooks/useRepositoryEditor.js @@ -8,7 +8,7 @@ import ContextRepositoryEditor from "../contexts/ContextRepositoryEditor" export default function useRepositoryEditor() { const context = useContext(ContextRepositoryEditor) if(!context) { - throw new Error("Questo componente deve essere messo in un RepositoryEditor.") + throw new Error("This component must be placed inside a RepositoryEditor.") } return context } \ No newline at end of file