Skip to content

Commit a469008

Browse files
fix: js lint
1 parent 99e4630 commit a469008

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

assets/apps/dashboard/src/Components/Content/AvailableModule.js

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* global neveDash */
2-
import { __, sprintf } from '@wordpress/i18n';
2+
import { __ } from '@wordpress/i18n';
33
import {
44
NEVE_AVAILABLE_MODULES_ICON_MAP,
55
NEVE_STORE,
@@ -42,10 +42,8 @@ const ModuleToggle = ({
4242
const { api } = neveDash;
4343
const { title } = moduleData;
4444
const toastMessage = {
45-
//translators: %s - Plugin name
46-
installing: sprintf(__('Installing', 'neve'), 'Orbit Fox Plugin'),
47-
//translators: %s - Plugin name
48-
activating: sprintf(__('Activating', 'neve'), 'Orbit Fox Plugin'),
45+
installing: __('Installing', 'neve'),
46+
activating: __('Activating', 'neve'),
4947
};
5048

5149
const handleToggle = async (value) => {
@@ -90,7 +88,10 @@ const ModuleToggle = ({
9088
);
9189
} catch (error) {
9290
setToast(
93-
__('Something went wrong. Please reload the page and try again.', 'neve')
91+
__(
92+
'Something went wrong. Please reload the page and try again.',
93+
'neve'
94+
)
9495
);
9596
} finally {
9697
setLoading(false);

0 commit comments

Comments
 (0)