Skip to content

Commit

Permalink
fixed types
Browse files Browse the repository at this point in the history
  • Loading branch information
agnieszkajarosikloj committed Mar 13, 2023
1 parent 85dbbd2 commit 693b3ff
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 132 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import Button from '~core/Button';
import Link from '~core/Link';

import SingleUserPicker from '../SingleUserPicker';
import { SignOption } from '../constants';

import styles from './Protectors.css';

Expand Down
127 changes: 0 additions & 127 deletions src/modules/dashboard/components/Incorporation/Stages/FormStages.tsx

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
}

.mainContainer {
padding-bottom: 50px;
padding: 52px 100px 70px 25px;
height: 600px;
min-height: 100%;
min-height: calc(100vh - navBarHeight);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import {
stages,
validationSchema,
Stages as StagesEnum,
formValuesMock,
userMock,
} from './constants';
import { ValuesType } from './types';
Expand All @@ -36,10 +35,10 @@ const IncorporationPage = () => {
const { data: colonyData, loading } = useColonyFromNameQuery({
variables: { name: colonyName, address: '' },
});
const [isFormEditable, setFormEditable] = useState(false);
const [formValues, setFormValues] = useState<ValuesType>(formValuesMock);
const [isFormEditable, setFormEditable] = useState(true);
const [formValues, setFormValues] = useState<ValuesType>();
const [shouldValidate, setShouldValidate] = useState(false);
const [activeStageId, setActiveStageId] = useState(StagesEnum.Payment);
const [activeStageId, setActiveStageId] = useState(StagesEnum.Draft);
const sidebarRef = useRef<HTMLElement>(null);

const notVerified = true; // temporary valule
Expand Down

0 comments on commit 693b3ff

Please sign in to comment.