Remove unnecessary "??" operator usage in EmptyView prop

This commit is contained in:
schroda
2024-04-27 20:42:06 +02:00
parent 626c4ba6e6
commit a447719309
4 changed files with 4 additions and 4 deletions

View File

@@ -79,7 +79,7 @@ export const TrackManga = ({ manga }: { manga: Pick<TManga, 'id' | 'trackRecords
);
if (trackerList.error) {
return <EmptyView message={trackerList.error.message ?? trackerList.error} />;
return <EmptyView message={trackerList.error.message} />;
}
if (trackerList.loading) {