[Dashboard Error] Unhandled Runtime Error | TypeError: data.guild is null
PhantomNimbi opened this issue · comments
I'm unable to access my guild's dashboard due to the following error:
35 | <div className="bg-black text-center text-white font-semibold py-2 mb-12 rounded-xl">
36 | <p>
> 37 | {isLoading && !data ? "Loading Guild..." : data!.guild!.name}
| ^
38 | </p>
39 | </div>
40 | <div className="flex flex-col gap-8">
The file it claims to be in is: src/components/DashboardLayout/DashboardLayout.tsx
.
Here is a screenshot of the error:
Nevermind I got it fixed. I had to kick the bot and then re invite it.