mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-07 01:15:28 +00:00
Replace usage of <></> with null for project and style consistency
This commit is contained in:
@@ -216,7 +216,7 @@ function Notifier({ options, notifs }: Props) {
|
||||
document.removeEventListener("visibilitychange", visChange);
|
||||
}, [guild_id, channel_id]);
|
||||
|
||||
return <></>;
|
||||
return null;
|
||||
}
|
||||
|
||||
const NotifierComponent = connectState(
|
||||
|
||||
@@ -63,7 +63,7 @@ function StateMonitor(props: Props) {
|
||||
return () => clearInterval(interval);
|
||||
}, [ props.typing ]);
|
||||
|
||||
return <></>;
|
||||
return null;
|
||||
}
|
||||
|
||||
export default connectState(
|
||||
|
||||
@@ -110,7 +110,7 @@ function SyncManager(props: Props) {
|
||||
return () => client.removeListener('packet', onPacket);
|
||||
}, [ disabled, props.sync ]);
|
||||
|
||||
return <></>;
|
||||
return null;
|
||||
}
|
||||
|
||||
export default connectState(
|
||||
|
||||
Reference in New Issue
Block a user