Skip to content

Commit

Permalink
Merge pull request #1228 from IntersectMBO/chore/cleanup-code
Browse files Browse the repository at this point in the history
chore/cleanup-code
  • Loading branch information
Sworzen1 authored Jun 11, 2024
2 parents cd05b52 + 45a6888 commit 9eda619
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 124 deletions.
2 changes: 0 additions & 2 deletions govtool/frontend/src/hooks/forms/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,5 @@ export * from "./useCreateGovernanceActionForm";
export * from "./useDelegateTodRepForm";
export * from "./useEditDRepInfoForm";
export * from "./useRegisterAsdRepForm";
export * from "./useUpdatedRepMetadataForm";
export * from "./useUrlAndHashFormController";
export * from "./useVoteActionForm";
export * from "./useVoteContextForm";
64 changes: 0 additions & 64 deletions govtool/frontend/src/hooks/forms/useUpdatedRepMetadataForm.tsx

This file was deleted.

50 changes: 0 additions & 50 deletions govtool/frontend/src/hooks/forms/useUrlAndHashFormController.tsx

This file was deleted.

8 changes: 0 additions & 8 deletions govtool/frontend/src/i18n/locales/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -351,11 +351,7 @@ export const en = {
termOfService: "Term of service",
},
forms: {
hashPlaceholder: "The hash of metadata at URL",
howCreateUrlAndHash: "How to create URL and hash?",
link: "Link",
urlWithContextPlaceholder: "Your URL with with your context",
urlWithInfoPlaceholder: "Your URL with extra info about you",
createGovernanceAction: {
typeLabel: "Governance Action Type",
typeTip:
Expand All @@ -373,11 +369,7 @@ export const en = {
emailPlaceholder: "[email protected]",
},
errors: {
hashInvalidFormat: "Invalid hash format",
hashInvalidLength: "Hash must be exactly 64 characters long",
urlTooLong: "Url must be less than 65 characters",
tooLongUrl: "Url must be less than 128 bytes",
urlInvalidFormat: "Invalid URL format",
},
registerAsDRep: {
bio: "Bio",
Expand Down

0 comments on commit 9eda619

Please sign in to comment.