Skip to content

Commit

Permalink
fix: update storing information links
Browse files Browse the repository at this point in the history
  • Loading branch information
MSzalowski authored and spannercode committed Aug 27, 2024
1 parent 671d33b commit ae9a775
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 ae9a775

Please sign in to comment.