From cdbac3583824b80754426d1bd6bf8804d5f9e200 Mon Sep 17 00:00:00 2001 From: Emily Sunaryo Date: Mon, 9 Oct 2023 12:33:47 -0700 Subject: [PATCH] database queries progress --- src/database/Queries.tsx | 7 ------- src/database/QueriesDemoScreen.tsx | 0 src/database/QueriesTestScreen.tsx | 1 - 3 files changed, 8 deletions(-) create mode 100644 src/database/QueriesDemoScreen.tsx delete mode 100644 src/database/QueriesTestScreen.tsx diff --git a/src/database/Queries.tsx b/src/database/Queries.tsx index 1bc2ec4c..6004499d 100644 --- a/src/database/Queries.tsx +++ b/src/database/Queries.tsx @@ -29,10 +29,3 @@ export const getCollectionById = async (id: string): Promise => { throw error; } }; - -// export const getCollection = async (id: string) => { -// try { -// const response = await fetch("https://girlswritenow.org/wp-json/wp/v2/collection") -// } catch (error){ - -// } diff --git a/src/database/QueriesDemoScreen.tsx b/src/database/QueriesDemoScreen.tsx new file mode 100644 index 00000000..e69de29b diff --git a/src/database/QueriesTestScreen.tsx b/src/database/QueriesTestScreen.tsx deleted file mode 100644 index 8564e43b..00000000 --- a/src/database/QueriesTestScreen.tsx +++ /dev/null @@ -1 +0,0 @@ -// export default function QueriesTestScreen.tsx