diff --git a/apps/web/components/Badge.tsx b/apps/web/components/Badge.tsx
index 8a10c768a..405ad0b10 100644
--- a/apps/web/components/Badge.tsx
+++ b/apps/web/components/Badge.tsx
@@ -12,6 +12,7 @@ type BadgeProps = {
className?: string;
icon?: React.ReactNode;
isCapitalize?: boolean;
+ tooltip?: string;
};
// Styles for different pool badge types
@@ -39,6 +40,7 @@ export function Badge({
status,
label,
className,
+ tooltip,
icon,
}: BadgeProps): JSX.Element {
const isStatusBadge = status !== undefined;
@@ -70,7 +72,8 @@ export function Badge({
return (
{iconIncluded && (
{iconIncluded}
diff --git a/apps/web/components/Button.tsx b/apps/web/components/Button.tsx
index 032653a6e..397e609c7 100644
--- a/apps/web/components/Button.tsx
+++ b/apps/web/components/Button.tsx
@@ -51,12 +51,12 @@ const btnStyles: BtnStyles = {
},
outline: {
primary:
- "text-primary-content border border-primary-content hover:text-primary-hover-content hover:outline-primary-hover-content",
+ "text-primary-content border border-primary-content hover:text-primary-hover-content hover:border-primary-hover-content",
secondary:
- "text-secondary-content border border-secondary-content hover:text-secondary-hover-content hover:outline-secondary-hover-content",
+ "text-secondary-content border border-secondary-content hover:text-secondary-hover-content hover:border-secondary-hover-content",
tertiary: "",
danger:
- "text-danger-button border border-danger-button hover:text-danger-hover-content hover:outline-danger-hover-content",
+ "text-danger-button border border-danger-button hover:text-danger-hover-content hover:border-danger-hover-content",
disabled: "text-neutral-soft-content border border-neutral-soft-content",
},
link: {
diff --git a/apps/web/components/Forms/PoolForm.tsx b/apps/web/components/Forms/PoolForm.tsx
index 386365256..8c38933eb 100644
--- a/apps/web/components/Forms/PoolForm.tsx
+++ b/apps/web/components/Forms/PoolForm.tsx
@@ -17,7 +17,10 @@ import { FormRadioButton } from "./FormRadioButton";
import { FormSelect } from "./FormSelect";
import { EthAddress } from "../EthAddress";
import { Button } from "@/components/Button";
-import { DEFAULT_RULING_TIMEOUT_SEC } from "@/configs/constants";
+import {
+ DEFAULT_RULING_TIMEOUT_SEC,
+ VOTING_POINT_SYSTEM_DESCRIPTION,
+} from "@/configs/constants";
import { QUERY_PARAMS } from "@/constants/query-params";
import { usePubSubContext } from "@/contexts/pubsub.context";
import { useChainFromPath } from "@/hooks/useChainFromPath";
@@ -595,14 +598,6 @@ export function PoolForm({ token, communityAddr }: Props) {
}
}, [customTokenData, watchedAddress, trigger]);
- const votingWeightSystemDescriptions = {
- fixed: "Everyone has the same voting weight, limited to registration stake",
- capped: "Voting weight is equal to tokens staked, up to a limit",
- unlimited: "Voting weight is equal to tokens staked, no limit.",
- quadratic:
- "Voting weight increases as more tokens are staked, following a quadratic curve.",
- };
-
return (
-