Skip to content

Commit 975dec9

Browse files
committed
chore: cleanup
1 parent cc8fc07 commit 975dec9

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

package/src/components/ChannelList/hooks/usePaginatedChannels.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,6 @@ export const usePaginatedChannels = ({
176176
'connection.changed',
177177
async (event) => {
178178
if (event.online) {
179-
console.log('DOES THIS THING HAPPEN ?!?!?!');
180179
await refreshList();
181180
}
182181
},
@@ -187,8 +186,6 @@ export const usePaginatedChannels = ({
187186
// eslint-disable-next-line react-hooks/exhaustive-deps
188187
}, [filterStr, sortStr, channelManager]);
189188

190-
console.log('ERROR: ', error);
191-
192189
return {
193190
channelListInitialized,
194191
channels,

package/src/components/Chat/Chat.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ const ChatWithContext = (props: PropsWithChildren<ChatProps>) => {
222222
// uninitialized before it's being invoked.
223223
setInitialisedDatabaseConfig({ initialised: false, userID });
224224
SqliteClient.initializeDatabase()
225-
.then(async (initialised) => {
225+
.then(async () => {
226226
setInitialisedDatabaseConfig({ initialised: true, userID });
227227
if (client.offlineDb) {
228228
await client.offlineDb?.syncManager.init();

0 commit comments

Comments
 (0)