Upgrade eslint-plugin-matrix-org to 1.2.1
This upgrade came with a number of new lints that needed to be fixed across the code base. Primarily: explicit return types on functions, and explicit visibility modifiers on class members.
This commit is contained in:
@@ -15,7 +15,7 @@ limitations under the License.
|
||||
*/
|
||||
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { useCallback } from "react";
|
||||
import { FC, useCallback } from "react";
|
||||
|
||||
import { Button } from "../button";
|
||||
import { Config } from "../config/Config";
|
||||
@@ -26,7 +26,7 @@ interface Props {
|
||||
description: string;
|
||||
}
|
||||
|
||||
export const RageshakeButton = ({ description }: Props) => {
|
||||
export const RageshakeButton: FC<Props> = ({ description }) => {
|
||||
const { submitRageshake, sending, sent, error } = useSubmitRageshake();
|
||||
const { t } = useTranslation();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user