Skip to content

Commit

Permalink
Merge branch 'main' into feat/application-page-redesign
Browse files Browse the repository at this point in the history
  • Loading branch information
carlbarrdahl authored Nov 27, 2023
2 parents 00cca93 + 76d466e commit eb085de
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const AddToCartButton = ({ onAdd }: { onAdd: () => void }) => {
const Icon = isAdded ? CheckIcon : ShoppingCartIcon;
return (
<Button
className="hidden"
className=""
disabled={isAdded}
onClick={() => {
onAdd();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,6 @@ export function SummaryContainer() {
} = useMatchingEstimates(matchingEstimateParamsPerRound);

const matchingEstimates = data?.length && data.length > 0 ? data : undefined;

const estimateText = matchingEstimatesToText(matchingEstimates);

if (projects.length === 0) {
Expand Down
2 changes: 2 additions & 0 deletions packages/grant-explorer/src/hooks/matchingEstimate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ interface JSONObject {
function getMatchingEstimates(
params: UseMatchingEstimatesParams
): Promise<MatchingEstimateResult[]> {
throw new Error("matching estimate temporarily disabled");

const replacer = (_key: string, value: JSONValue) =>
typeof value === "bigint" ? value.toString() : value;

Expand Down

0 comments on commit eb085de

Please sign in to comment.