From 4fd3d5bec8dc2a9368437bcf5b0fca98e62f4de5 Mon Sep 17 00:00:00 2001
From: Nikhil Woodruff <35577657+nikhilwoodruff@users.noreply.github.com>
Date: Mon, 20 Nov 2023 11:59:17 +0000
Subject: [PATCH] Lint
---
.../components/APIDocumentationPage.jsx | 420 ++++++++++--------
src/redesign/components/PolicyEngine.jsx | 5 +-
2 files changed, 228 insertions(+), 197 deletions(-)
diff --git a/src/redesign/components/APIDocumentationPage.jsx b/src/redesign/components/APIDocumentationPage.jsx
index d17f3d099..8305d9fbf 100644
--- a/src/redesign/components/APIDocumentationPage.jsx
+++ b/src/redesign/components/APIDocumentationPage.jsx
@@ -200,223 +200,251 @@ function CardDrawer(props) {
);
}
-
-export default function APIDocumentationPage({
- metadata,
-}) {
- const countryId = useCountryId();
+export default function APIDocumentationPage({ metadata }) {
+ const countryId = useCountryId();
return (
<>
-
- PolicyEngine's REST API (https://api.policyengine.org) simulates tax-benefit policy outcomes for households and populations.
-
+ PolicyEngine's REST API (https://api.policyengine.org) simulates
+ tax-benefit policy outcomes for households and populations.
+ Try out the API in this interactive demo.
- Try out the API in this interactive demo.
-
- On this page
-
-
- On this page
+
+
- {JSON.stringify(json, null, 2)} -+ }} + > +
{JSON.stringify(json, null, 2)}
{method} {pattern}
{description}
- { - exampleInputJson &&
+ {method} {pattern}
+
+ {description}
+ {exampleInputJson && ( +