From a31258789e3a3c38256c3ffcae94267ebb118c5f Mon Sep 17 00:00:00 2001
From: Alberto Defendi <1369-ahl-berto@users.noreply.gitlab.inf.unibz.it>
Date: Wed, 14 Apr 2021 09:27:23 +0200
Subject: [PATCH] Remove react-intl due failing tests

The dependency requires to inject provider for test. To evalue another
library for intl
---
 src/index.tsx    | 9 ++-------
 src/intl/en.json | 6 ------
 2 files changed, 2 insertions(+), 13 deletions(-)
 delete mode 100644 src/intl/en.json

diff --git a/src/index.tsx b/src/index.tsx
index 0fccccb..b298e0f 100644
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -1,17 +1,12 @@
 import React from 'react';
 import ReactDOM from 'react-dom';
-import { IntlProvider } from 'react-intl';
 import CssBaseline from '@material-ui/core/CssBaseline';
-import MESSAGES_EN from './intl/en.json';
 import { App } from './App';
 
 ReactDOM.render(
   <React.StrictMode>
-    <IntlProvider locale="en" messages={MESSAGES_EN}>
-      <CssBaseline />
-      <App />
-    </IntlProvider>
-    ,
+    <CssBaseline />
+    <App />,
   </React.StrictMode>,
   document.getElementById('root'),
 );
diff --git a/src/intl/en.json b/src/intl/en.json
deleted file mode 100644
index 347550b..0000000
--- a/src/intl/en.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
-    "email": "Email address",
-    "password": "Password",
-    "email-error": "Insert valid email address",
-    "password-error": "Insert valid password"
-}
\ No newline at end of file
-- 
GitLab