Skip to content

Commit

Permalink
change - func name/ number of links
Browse files Browse the repository at this point in the history
  • Loading branch information
Sworzen1 authored and pmbinapps committed Mar 7, 2024
1 parent 8c6adde commit 249898c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const ChooseGovernanceActionType = ({
setStep(3);
};

const onClickCancel = () => {
const onClickBack = () => {
setStep(1);
};

Expand Down Expand Up @@ -58,7 +58,7 @@ export const ChooseGovernanceActionType = ({
actionButtonLabel={t("continue")}
isActionButtonDisabled={isContinueButtonDisabled}
onClickActionButton={onClickContinue}
onClickBackButton={onClickCancel}
onClickBackButton={onClickBack}
>
<Typography sx={{ textAlign: "center" }} variant="headline4">
{t("createGovernanceAction.chooseGATypeTitle")}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { BgCard } from "./BgCard";
import { ControlledField } from "./ControlledField";

const LINK_PLACEHOLDER = "https://website.com/";
const MAX_NUMBER_OF_LINKS = 7;
const MAX_NUMBER_OF_LINKS = 8;

type ChooseGovernanceActionTypeProps = {
setStep: Dispatch<SetStateAction<number>>;
Expand Down

0 comments on commit 249898c

Please sign in to comment.