Replace usage of <></> with null for project and style consistency

This commit is contained in:
bree
2021-07-04 21:13:44 -04:00
parent e03449b75c
commit 8ece647857
5 changed files with 5 additions and 5 deletions

View File

@@ -216,7 +216,7 @@ function Notifier({ options, notifs }: Props) {
document.removeEventListener("visibilitychange", visChange);
}, [guild_id, channel_id]);
return <></>;
return null;
}
const NotifierComponent = connectState(

View File

@@ -63,7 +63,7 @@ function StateMonitor(props: Props) {
return () => clearInterval(interval);
}, [ props.typing ]);
return <></>;
return null;
}
export default connectState(

View File

@@ -110,7 +110,7 @@ function SyncManager(props: Props) {
return () => client.removeListener('packet', onPacket);
}, [ disabled, props.sync ]);
return <></>;
return null;
}
export default connectState(