mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-06-17 00:37:49 +00: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