Skip to content

Commit d82cfce

Browse files
Handle empty state only when no errors exist
1 parent 77a74e0 commit d82cfce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pages/Tracker/Tracker.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ const Home: React.FC = () => {
316316
</Table>
317317
</TableContainer>
318318
</Box>
319-
) : currentFilteredData.length === 0 ? (
319+
) : !authError && !dataError && currentFilteredData.length === 0 ? (
320320
<Paper
321321
elevation={1}
322322
sx={{

0 commit comments

Comments
 (0)