I've tried a lot of things for this, but got no fix.
Here's my code:
[see next message] (had to remove some code bc char limit)
(sb.player returns a promise btw)
if I go http://localhost:3000/seen?username=xyz, the error is ```ts
✓ Compiled in 1608ms (487 modules)
⚠ Fast Refresh had to perform a full reload due to a runtime error.
{}
⨯ src\app\seen\page.tsx (76:34) @ last_username_pretty
⨯ TypeError: Cannot read properties of undefined (reading 'last_username_pretty')
at Page (./src/app/seen/page.tsx:126:45)
74 | <div id="output">
75 | <img src="%= https://minotar.net/avatar/${username}/125.png %" alt="avatar" />
76 | <p>{user.data.last_username_pretty}</p>
| ^
77 | <p>UUID: {user.data.uuid}</p>
78 | <p>First Seen: {strftime('%H:%M on %d/%m/%Y', new Date(user.data.info.first_joined1000))}</p>
79 | <p>Last Joined: {strftime('%H:%M on %d/%m/%Y', new Date(user.data.info.last_joined1000))}</p>