From f66fa8e2310f586796cb3da9daa8e80fa994bfab Mon Sep 17 00:00:00 2001 From: Pavel Prichodko <14926950+prichodko@users.noreply.github.com> Date: Tue, 19 Apr 2022 14:09:34 +0200 Subject: [PATCH] fix(react): make config options optional --- packages/status-react/src/types/config.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/status-react/src/types/config.tsx b/packages/status-react/src/types/config.tsx index 70ebe3f1..cbc12ec2 100644 --- a/packages/status-react/src/types/config.tsx +++ b/packages/status-react/src/types/config.tsx @@ -18,7 +18,7 @@ export interface Config { theme?: 'light' | 'dark' | CustomTheme router?: typeof BrowserRouter | typeof MemoryRouter | typeof HashRouter options?: { - enableSidebar: boolean - enableMembers: boolean + enableSidebar?: boolean + enableMembers?: boolean } }