Skip to content

Commit

Permalink
fix(Notebook): handle edge case, fix(Inbox): politics friendly placeh…
Browse files Browse the repository at this point in the history
…older
  • Loading branch information
Truiteseche committed Sep 22, 2024
1 parent ae76eaa commit 7bb63cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/app/Homeworks/Notebook.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export default function Notebook({ hideDateController = false }) {
* @param dir Direction in time to check : 1 to move forward ; -1 to move backwards
*/
if (!homeworks) {
return;
return getISODate(new Date());
}

const dates = Object.keys(homeworks).filter(e => homeworks[e].length);
Expand Down
2 changes: 1 addition & 1 deletion src/components/app/Messaging/Inbox.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export default function Inbox({ selectedMessage, setSelectedMessage, fetchMessag
</li>)}
</ul>
</ScrollShadedDiv>
: <p className="no-message-received">Vous n'avez reçu aucun message. Profitez bien de votre isolement social ^^</p>
: <p className="no-message-received">Vous n'avez reçu aucun message. Tendez l'oreille et profitez de cet instant de silence</p>
)
: <ScrollShadedDiv className="messages-container">
<ul>
Expand Down

0 comments on commit 7bb63cd

Please sign in to comment.