From 58c980797811b2f4ac5c93ddb0b437508dbcf8d8 Mon Sep 17 00:00:00 2001 From: ichi404gh Date: Wed, 6 Mar 2019 00:35:27 +0300 Subject: [PATCH] Set default value of `loading` to true --- src/lib/context.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/context.js b/src/lib/context.js index c107630..0dc6793 100644 --- a/src/lib/context.js +++ b/src/lib/context.js @@ -1,7 +1,7 @@ import React from 'react'; const defaultState = { - isLoading: false, + isLoading: true, userInfo: null, error: null, refreshAuth: () => true