From 19d0b14233498d77f4c59cc487f74160ff2079ff Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Mon, 14 Mar 2022 16:45:04 -0700 Subject: [PATCH] Add timestamps to app state Party object --- utils/appState.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/utils/appState.tsx b/utils/appState.tsx index 0a4ed54d..d95d355c 100644 --- a/utils/appState.tsx +++ b/utils/appState.tsx @@ -13,7 +13,9 @@ interface AppState { element: number, extra: boolean, user: User | undefined, - favorited: boolean + favorited: boolean, + created_at: string + updated_at: string }, grid: { weapons: { @@ -48,7 +50,9 @@ export const initialAppState: AppState = { element: 0, extra: false, user: undefined, - favorited: false + favorited: false, + created_at: new Date().toISOString(), + updated_at: new Date().toISOString() }, grid: { weapons: {