From 18f4ee5c0c7457f0465b7225b55e5d45ad2e0dc2 Mon Sep 17 00:00:00 2001 From: Chika Date: Sat, 9 Jul 2022 20:10:16 +0300 Subject: [PATCH] ssr: fix prop did not match --- pages/index.tsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pages/index.tsx b/pages/index.tsx index 5999a5c..6ed5462 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -47,9 +47,12 @@ function Home({ graphQLData }: PageProps) { /** * add reactions to store */ - leadOpportunityUrlsReactions(store, apolloClient); - paymentsReactions(store, apolloClient); - calculateValidationReactions(store, apolloClient); + + setTimeout(() => { + leadOpportunityUrlsReactions(store, apolloClient); + paymentsReactions(store, apolloClient); + calculateValidationReactions(store, apolloClient); + }); /** * set graphql data to store