From 6d4ef6b1a49254d649044436bdb191e4afadc2e1 Mon Sep 17 00:00:00 2001 From: Dariusz Niemczyk Date: Fri, 6 Aug 2021 13:54:00 +0200 Subject: [PATCH] Fix [object Object] in Widget Permissions --- src/components/views/elements/AppPermission.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/views/elements/AppPermission.tsx b/src/components/views/elements/AppPermission.tsx index 8dc874381a6..c0543eb363c 100644 --- a/src/components/views/elements/AppPermission.tsx +++ b/src/components/views/elements/AppPermission.tsx @@ -62,10 +62,10 @@ export default class AppPermission extends React.Component { // Set all this into the initial state this.state = { - ...urlInfo, - roomMember, - isWrapped: null, widgetDomain: null, + isWrapped: null, + roomMember, + ...urlInfo, }; }