aboutsummaryrefslogtreecommitdiffstats
path: root/src/types
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2023-12-11 17:52:38 +0100
committerArmand Philippot <git@armandphilippot.com>2023-12-11 17:52:38 +0100
commit93db24b7f7650abac1bb7095026e3a1f367b0c0a (patch)
treec6efd8669d333941494e573d2468a4fb6603b134 /src/types
parentcd2cb5748be9e9c479d9802dd3897de1cd1cbd9f (diff)
refactor(pages): refine Contact page
* remove next/router dependency * remove pageTitle since it is defined in MDX * reduce statements by grouping messages * mock response with MSW and add test for sendEmail
Diffstat (limited to 'src/types')
-rw-r--r--src/types/index.ts1
-rw-r--r--src/types/swr.ts5
2 files changed, 0 insertions, 6 deletions
diff --git a/src/types/index.ts b/src/types/index.ts
index d6e4a6a..dd807e6 100644
--- a/src/types/index.ts
+++ b/src/types/index.ts
@@ -2,4 +2,3 @@ export * from './app';
export * from './data';
export * from './generics';
export * from './gql';
-export * from './swr';
diff --git a/src/types/swr.ts b/src/types/swr.ts
deleted file mode 100644
index 4da6b2c..0000000
--- a/src/types/swr.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-export type SWRResult<T> = {
- data?: T;
- isLoading: boolean;
- isError: boolean;
-};