= ({ SectionClassName, title, isBtnVisible = false, btnId, btnClassName, btnTitle, btnIcon, isLinkVisible = true, url }: IProps) => {
return (
diff --git a/src/elements/SectionTitleLinkElement.tsx b/src/elements/SectionTitleLinkElement.tsx
index a3ef6bb8a5..c9c7e419e8 100644
--- a/src/elements/SectionTitleLinkElement.tsx
+++ b/src/elements/SectionTitleLinkElement.tsx
@@ -17,7 +17,7 @@ type IProps = {
title?: string;
className?: string;
url?: string
-}
+};
const SectionTitleLinkElement: FunctionComponent = ({ className, title, url }: IProps) => {
return (
diff --git a/src/elements/SelectElement.tsx b/src/elements/SelectElement.tsx
index 89735952b2..8d13f2be12 100644
--- a/src/elements/SelectElement.tsx
+++ b/src/elements/SelectElement.tsx
@@ -19,7 +19,7 @@ type IProps = {
required?: string;
label?: string;
children?: React.ReactNode
-}
+};
const SelectElement: FunctionComponent = ({ name, id, required, label, children }: IProps) => {
return (
diff --git a/src/routes/home.tsx b/src/routes/home.tsx
index 7fea637cb9..4346106eaf 100644
--- a/src/routes/home.tsx
+++ b/src/routes/home.tsx
@@ -14,7 +14,7 @@ import Page from '../components/Page';
type OnResumeOptions = {
autoFocus?: boolean;
refresh?: boolean
-}
+};
type ControllerProps = {
onResume: (
@@ -23,7 +23,7 @@ type ControllerProps = {
refreshed: boolean;
onPause: () => void;
destroy: () => void;
-}
+};
const Home: FunctionComponent = () => {
const [ searchParams ] = useSearchParams();
diff --git a/src/routes/user/useredit.tsx b/src/routes/user/useredit.tsx
index 64e70f32f6..ca013d6ca6 100644
--- a/src/routes/user/useredit.tsx
+++ b/src/routes/user/useredit.tsx
@@ -18,12 +18,12 @@ import Page from '../../components/Page';
type ResetProvider = AuthProvider & {
checkedAttribute: string
-}
+};
type AuthProvider = {
Name?: string;
Id?: string;
-}
+};
const getCheckedElementDataIds = (elements: NodeListOf) => (
Array.prototype.filter.call(elements, e => e.checked)
diff --git a/src/routes/user/userlibraryaccess.tsx b/src/routes/user/userlibraryaccess.tsx
index 0ca06cee4f..657a8ec417 100644
--- a/src/routes/user/userlibraryaccess.tsx
+++ b/src/routes/user/userlibraryaccess.tsx
@@ -18,7 +18,7 @@ type ItemsArr = {
Id?: string;
AppName?: string;
checkedAttribute?: string
-}
+};
const UserLibraryAccess: FunctionComponent = () => {
const [ userName, setUserName ] = useState('');
diff --git a/src/routes/user/usernew.tsx b/src/routes/user/usernew.tsx
index 25d1a13140..cc2a454744 100644
--- a/src/routes/user/usernew.tsx
+++ b/src/routes/user/usernew.tsx
@@ -14,12 +14,12 @@ import Page from '../../components/Page';
type userInput = {
Name?: string;
Password?: string;
-}
+};
type ItemsArr = {
Name?: string;
Id?: string;
-}
+};
const UserNew: FunctionComponent = () => {
const [ channelsItems, setChannelsItems ] = useState([]);
diff --git a/src/routes/user/userparentalcontrol.tsx b/src/routes/user/userparentalcontrol.tsx
index be28cf5089..fabbcacd1d 100644
--- a/src/routes/user/userparentalcontrol.tsx
+++ b/src/routes/user/userparentalcontrol.tsx
@@ -20,7 +20,7 @@ type UnratedItem = {
name: string;
value: string;
checkedAttribute: string
-}
+};
const UserParentalControl: FunctionComponent = () => {
const [ userName, setUserName ] = useState('');
diff --git a/src/routes/user/userprofiles.tsx b/src/routes/user/userprofiles.tsx
index 055afb0f8b..0f11fced60 100644
--- a/src/routes/user/userprofiles.tsx
+++ b/src/routes/user/userprofiles.tsx
@@ -18,7 +18,7 @@ type MenuEntry = {
name?: string;
id?: string;
icon?: string;
-}
+};
const UserProfiles: FunctionComponent = () => {
const [ users, setUsers ] = useState([]);
diff --git a/src/scripts/editorsidebar.js b/src/scripts/editorsidebar.js
index e3a1f58ab8..8f6cd24c98 100644
--- a/src/scripts/editorsidebar.js
+++ b/src/scripts/editorsidebar.js
@@ -300,7 +300,6 @@ let selectedNodeId;
$(document).on('itemsaved', '.metadataEditorPage', function (e, item) {
updateEditorNode(this, item);
}).on('pagebeforeshow', '.metadataEditorPage', function () {
- /* eslint-disable-next-line @babel/no-unused-expressions */
import('../styles/metadataeditor.scss');
}).on('pagebeforeshow', '.metadataEditorPage', function () {
const page = this;
diff --git a/src/scripts/keyboardNavigation.js b/src/scripts/keyboardNavigation.js
index 39c187479d..6e8e477d7a 100644
--- a/src/scripts/keyboardNavigation.js
+++ b/src/scripts/keyboardNavigation.js
@@ -202,7 +202,6 @@ export function enable() {
function attachGamepadScript() {
console.log('Gamepad connected! Attaching gamepadtokey.js script');
window.removeEventListener('gamepadconnected', attachGamepadScript);
- /* eslint-disable-next-line @babel/no-unused-expressions */
import('./gamepadtokey');
}