Skip to content
This repository was archived by the owner on Oct 30, 2025. It is now read-only.

Commit 5e0d2f0

Browse files
committed
[FIX] Stats Error and Unused setStartCreateCommunity
1 parent ad987dc commit 5e0d2f0

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

client/src/components/MainLayout/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export default function MainLayout(props) {
5555
exact
5656
path={["/home", "/"]}
5757
render={(props) => {
58-
return <Home {...props} authState={authState} />;
58+
return <Home {...props} authState={authState} stats={stats} />;
5959
}}
6060
/>
6161
</Switch>

client/src/components/SignedLeftSidebar/index.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -210,10 +210,6 @@ export default function SignedLeftSidebar(props) {
210210
};
211211
}, [rooms]);
212212

213-
const handleEndCreateCommunity = () => {
214-
setStartCreateCommunity(false);
215-
};
216-
217213
const handleEndCreateChannel = () => {
218214
setStartCreateChannel(false);
219215
};

0 commit comments

Comments
 (0)