@akemona-org/strapi-plugin-email 3.12.4 → 3.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18,7 +18,7 @@ import { AlignedButton, Text } from './components';
18
18
  import schema from '../../utils/schema';
19
19
  import pluginPermissions from '../../permissions';
20
20
 
21
- const SettingsPage = () => {
21
+ function SettingsPage() {
22
22
  const { formatMessage } = useIntl();
23
23
  const [formErrors, setFormErrors] = useState({});
24
24
  const [isTestButtonLoading, setIsTestButtonLoading] = useState(false);
@@ -100,8 +100,7 @@ const SettingsPage = () => {
100
100
  }, []);
101
101
 
102
102
  return (
103
- <>
104
- <CheckPagePermissions permissions={pluginPermissions.settings}>
103
+ <CheckPagePermissions permissions={pluginPermissions.settings}>
105
104
  <SettingsPageTitle name={title} />
106
105
  <div>
107
106
  <form onSubmit={handleSubmit}>
@@ -178,12 +177,12 @@ const SettingsPage = () => {
178
177
  <AlignedButton
179
178
  color="success"
180
179
  disabled={testSuccess}
181
- icon={(
180
+ icon={
182
181
  <Envelope
183
182
  fill={testSuccess ? colors.button.disabled.color : null}
184
183
  style={{ verticalAlign: 'middle', marginRight: '10px' }}
185
184
  />
186
- )}
185
+ }
187
186
  isLoading={isTestButtonLoading}
188
187
  style={{ fontWeight: 600 }}
189
188
  type="submit"
@@ -194,8 +193,7 @@ const SettingsPage = () => {
194
193
  </form>
195
194
  </div>
196
195
  </CheckPagePermissions>
197
- </>
198
196
  );
199
- };
197
+ }
200
198
 
201
199
  export default SettingsPage;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "3.12.4",
6
+ "version": "3.13.1",
7
7
  "description": "Easily configure your Strapi application to send emails.",
8
8
  "strapi": {
9
9
  "name": "Email",
@@ -15,12 +15,12 @@
15
15
  "test": "echo \"no tests yet\""
16
16
  },
17
17
  "dependencies": {
18
- "@akemona-org/strapi-provider-email-sendmail": "3.12.4",
19
- "@akemona-org/strapi-utils": "3.12.4",
18
+ "@akemona-org/strapi-provider-email-sendmail": "3.13.1",
19
+ "@akemona-org/strapi-utils": "3.13.1",
20
20
  "lodash": "4.17.21"
21
21
  },
22
22
  "devDependencies": {
23
- "@akemona-org/strapi-helper-plugin": "3.12.4",
23
+ "@akemona-org/strapi-helper-plugin": "3.13.1",
24
24
  "rimraf": "4.1.0"
25
25
  },
26
26
  "author": {
@@ -44,5 +44,5 @@
44
44
  "npm": ">=6.0.0"
45
45
  },
46
46
  "license": "SEE LICENSE IN LICENSE",
47
- "gitHead": "edf7db826c8babebcfa519e136874ba729667f8b"
47
+ "gitHead": "8343ec802662d12cb09de4196583f1862d808de5"
48
48
  }