Skip to content

Commit

Permalink
fix nested p error
Browse files Browse the repository at this point in the history
  • Loading branch information
Sworzen1 authored and MSzalowski committed Jun 21, 2024
1 parent 3e74a2d commit 2181a36
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion govtool/frontend/src/components/atoms/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export type LoadingButtonProps = ButtonProps & {

export type TypographyProps = Pick<
MUITypographyProps,
"color" | "lineHeight" | "sx"
"color" | "lineHeight" | "sx" | "component"
> & {
children?: React.ReactNode;
fontSize?: number;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ export const DashboardActionCard: FC<DashboardActionCardProps> = ({
variant="title2"
fontWeight={600}
sx={{ display: "inline" }}
component="span"
>
{` ${t("inProgress")}`}
</Typography>
Expand Down
9 changes: 3 additions & 6 deletions govtool/frontend/src/i18n/locales/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -712,12 +712,9 @@ export const en = {
retireDirectVoter: "Retire as a Direct Voter",
},
system: {
sanchoNet: "SanchoNet",
sanchoNetIsBeta:
"The SanchoNet GovTool is currently in beta and it connects to ",
testAdaNote:
"Please note, this tool uses ‘Test ada’ <0>NOT real ada</0>. All governance actions and related terms pertain to SanchoNet.",
toolConnectedToSanchonet: "This tool is connected to SanchoNet",
testnetDescription:
"The SanchoNet GovTool is currently in beta and it connects to <0>SanchoNet</0>.\n\n Please note, this tool uses ‘Test ada’ <strong>NOT real ada</strong>. All governance actions and related terms pertain to SanchoNet.",
testnetTitle: "This tool is connected to SanchoNet",
},
tooltips: {
delegateTodRep: {
Expand Down

0 comments on commit 2181a36

Please sign in to comment.