Lint all the things
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { Button, Card, Col, Input, Table, Typography } from "antd";
|
||||
import React, { useState } from "react";
|
||||
import { useState } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
export default function ProfileShopsComponent({ loading, data, updateActiveShop }) {
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { useMutation, useQuery } from "@apollo/client";
|
||||
import React from "react";
|
||||
import { logImEXEvent, messaging } from "../../firebase/firebase.utils";
|
||||
import { QUERY_ALL_ASSOCIATIONS, UPDATE_ACTIVE_ASSOCIATION } from "../../graphql/associations.queries";
|
||||
import AlertComponent from "../alert/alert.component";
|
||||
@@ -15,9 +14,9 @@ const mapStateToProps = createStructuredSelector({
|
||||
bodyshop: selectBodyshop,
|
||||
currentUser: selectCurrentUser
|
||||
});
|
||||
const mapDispatchToProps = (dispatch) => ({
|
||||
//setUserLanguage: language => dispatch(setUserLanguage(language))
|
||||
});
|
||||
|
||||
const mapDispatchToProps = () => ({});
|
||||
|
||||
export default connect(mapStateToProps, mapDispatchToProps)(ProfileShopsContainer);
|
||||
|
||||
export function ProfileShopsContainer({ bodyshop, currentUser }) {
|
||||
@@ -42,7 +41,7 @@ export function ProfileShopsContainer({ bodyshop, currentUser }) {
|
||||
imexshopid: bodyshop.imexshopid,
|
||||
type: "messaging"
|
||||
});
|
||||
} catch (error) {
|
||||
} catch {
|
||||
console.log("No FCM token. Skipping unsubscribe.");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user