From 729d445b6885f69dd2c6355f38707bd42851c791 Mon Sep 17 00:00:00 2001
From: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
Date: Wed, 22 Jun 2022 23:21:48 -0700
Subject: change the directory structure

---
 integration/snippets/react-context-value-func.tsx | 34 -----------------------
 1 file changed, 34 deletions(-)
 delete mode 100644 integration/snippets/react-context-value-func.tsx

(limited to 'integration/snippets/react-context-value-func.tsx')

diff --git a/integration/snippets/react-context-value-func.tsx b/integration/snippets/react-context-value-func.tsx
deleted file mode 100644
index 5f38a5d1c..000000000
--- a/integration/snippets/react-context-value-func.tsx
+++ /dev/null
@@ -1,34 +0,0 @@
-import React from "react";
-
-const Context = React.createContext({});
-
-const ContextProvider = ({ children }) => {
-  const [cb, setCB] = React.useState(function () {});
-  const foo = true;
-
-  return <Context.Provider value={cb}>{children(foo)}</Context.Provider>;
-};
-
-const ContextValue = ({}) => (
-  <Context.Consumer>
-    {(foo) => {
-      if (foo) {
-        return <div>Worked!</div>;
-      }
-
-      throw `Value "${foo}"" should be true`;
-    }}
-  </Context.Consumer>
-);
-
-const TestComponent = () => (
-  <ContextProvider>
-    <ContextValue />
-  </ContextProvider>
-);
-
-export function test() {
-  const foo = <TestComponent />;
-
-  return testDone(import.meta.url);
-}
-- 
cgit v1.2.3

