Skip to content

Commit

Permalink
Fix typecheck error
Browse files Browse the repository at this point in the history
  • Loading branch information
git-init-priyanshu committed Mar 5, 2024
1 parent c20d208 commit 45b19df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 0 additions & 4 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@ import OrganizationPeople from 'screens/OrganizationPeople/OrganizationPeople';
import PageNotFound from 'screens/PageNotFound/PageNotFound';
import Users from 'screens/Users/Users';
import CommunityProfile from 'screens/CommunityProfile/CommunityProfile';
import BlockUser from 'screens/BlockUser/BlockUser';
import EventDashboard from 'screens/EventDashboard/EventDashboard';
import MemberDetail from 'screens/MemberDetail/MemberDetail';
import Loader from 'components/Loader/Loader';

// User Portal Components
import Donate from 'screens/UserPortal/Donate/Donate';
Expand Down
5 changes: 2 additions & 3 deletions src/screens/CommunityProfile/CommunityProfile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ import React from 'react';
import SuperAdminScreen from 'components/SuperAdminScreen/SuperAdminScreen';
import { useTranslation } from 'react-i18next';
import { Button, Card, Form } from 'react-bootstrap';
import { useMutation, useQuery } from '@apollo/client';
import { toast } from 'react-toastify';
import { useMutation } from '@apollo/client';

import { UPLOAD_PRELOGIN_IMAGERY } from 'GraphQl/Mutations/mutations';
import {
Expand Down Expand Up @@ -46,7 +45,7 @@ const CommunityProfile = (): JSX.Element => {
[e.target.name]: e.target.value,
});
};
const handleOnSubmit = (e: React.FormEvent<HTMLFormElement>) => {
const handleOnSubmit = (e: React.FormEvent<HTMLFormElement>): void => {
e.preventDefault();
upload({
variables: {
Expand Down

0 comments on commit 45b19df

Please sign in to comment.