diff --git a/src/utils/space.tsx b/src/utils/space.tsx index dc774bb60a..470b374840 100644 --- a/src/utils/space.tsx +++ b/src/utils/space.tsx @@ -165,10 +165,10 @@ export const bulkSpaceBehaviour = async ( } }; -export function showSpacePreferences(space: Room, initialTabId?: SpacePreferenceTab) { +export const showSpacePreferences = (space: Room, initialTabId?: SpacePreferenceTab) => { dis.dispatch({ action: Action.OpenSpacePreferences, space, initialTabId, }); -} +};