diff --git a/src/pages/Inbox/Inbox.jsx b/src/pages/Inbox/Inbox.jsx index 332522793..7b96ccdb9 100644 --- a/src/pages/Inbox/Inbox.jsx +++ b/src/pages/Inbox/Inbox.jsx @@ -417,7 +417,7 @@ const Inbox = (props) => { ); } - const totalPages = Math.ceil(data.length / pageSize); + const totalPages = Math.max(Math.ceil(data.length / pageSize), 1); return (