Lint all the things
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import React, { useState } from "react";
|
||||
import { useState } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { Button } from "antd";
|
||||
import { DeleteFilled } from "@ant-design/icons";
|
||||
@@ -24,7 +24,7 @@ export default function ScoreboardRemoveButton({ scoreboardId }) {
|
||||
refetchQueries: ["QUERY_SCOREBOARD_PAGINATED"]
|
||||
});
|
||||
|
||||
if (!!result.errors) {
|
||||
if (result.errors) {
|
||||
notification["error"]({
|
||||
message: t("scoreboard.errors.removing", {
|
||||
message: JSON.stringify(result.errors)
|
||||
|
||||
Reference in New Issue
Block a user