Skip to content

Commit

Permalink
Merge pull request IntersectMBO#1840 from IntersectMBO/fix/update-sto…
Browse files Browse the repository at this point in the history
…ring-information-docs

fix: update storing information links
  • Loading branch information
MSzalowski authored Aug 27, 2024
2 parents 859dad1 + c5c66be commit 13e62d1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ export const StorageInformation = ({ setStep }: StorageInformationProps) => {
const fileName = getValues("governance_action_type") as string;

const openGuideAboutStoringInformation = () =>
openInNewTab("https://docs.gov.tools/faqs/how-to-create-a-metadata-anchor");
openInNewTab(
"https://docs.gov.tools/using-govtool/govtool-functions/storing-information-offline",
);

const isActionButtonDisabled = !watch("storingURL") || !!errors.storingURL;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,10 @@ export const EditDRepStorageInformation = ({
const { screenWidth } = useScreenDimension();

const fileName = getValues("givenName").replace(/\s/g, "");

const openGuideAboutStoringInformation = () =>
openInNewTab("https://docs.gov.tools/faqs/how-to-create-a-metadata-anchor");
openInNewTab(
"https://docs.gov.tools/using-govtool/govtool-functions/storing-information-offline",
);

const isActionButtonDisabled = !watch("storingURL") || !!errors.storingURL;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ export const VoteContextStoringInformation = ({
} = useVoteContextForm(setSavedHash, setStep, setErrorMessage);

const openGuideAboutStoringInformation = () =>
openInNewTab("https://docs.gov.tools/faqs/how-to-create-a-metadata-anchor");
openInNewTab(
"https://docs.gov.tools/using-govtool/govtool-functions/storing-information-offline",
);

const isContinueDisabled = !watch("storingURL");

Expand Down

0 comments on commit 13e62d1

Please sign in to comment.