From 6ddd7678ffb6598ae6e263706813cb5e94535f02 Mon Sep 17 00:00:00 2001
From: Jonathan Neal <jonathantneal@hotmail.com>
Date: Wed, 22 Dec 2021 16:11:05 -0500
Subject: Use accessible indentation (#2253)

---
 .../framework-react/src/components/Counter.jsx     | 26 +++++++++++-----------
 1 file changed, 13 insertions(+), 13 deletions(-)

(limited to 'examples/framework-react/src/components/Counter.jsx')

diff --git a/examples/framework-react/src/components/Counter.jsx b/examples/framework-react/src/components/Counter.jsx
index e222d680f..97ddf34c7 100644
--- a/examples/framework-react/src/components/Counter.jsx
+++ b/examples/framework-react/src/components/Counter.jsx
@@ -2,18 +2,18 @@ import React, { useState } from 'react';
 import './Counter.css';
 
 export default function Counter({ children, count: initialCount }) {
-  const [count, setCount] = useState(initialCount);
-  const add = () => setCount((i) => i + 1);
-  const subtract = () => setCount((i) => i - 1);
+	const [count, setCount] = useState(initialCount);
+	const add = () => setCount((i) => i + 1);
+	const subtract = () => setCount((i) => i - 1);
 
-  return (
-    <>
-      <div className="counter">
-        <button onClick={subtract}>-</button>
-        <pre>{count}</pre>
-        <button onClick={add}>+</button>
-      </div>
-      <div className="counter-message">{children}</div>
-    </>
-  );
+	return (
+		<>
+			<div className="counter">
+				<button onClick={subtract}>-</button>
+				<pre>{count}</pre>
+				<button onClick={add}>+</button>
+			</div>
+			<div className="counter-message">{children}</div>
+		</>
+	);
 }
-- 
cgit v1.2.3

