mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-06-13 12:15:09 +03:00
only set motd if value returned
This commit is contained in:
@@ -35,7 +35,7 @@ export function MotdDisplay() {
|
||||
|
||||
async function fetchMotd() {
|
||||
const motd = await getMotd();
|
||||
setMotd(motd);
|
||||
motd && setMotd(motd);
|
||||
}
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user