components not loading for page.
Unanswered
Huntaway posted this in #help-forum
HuntawayOP
hello when i try to load component in page it no loadin idk why
import { getSessionData } from "@/lib/functions";
import dashboardComponent from "@/clientComponents/dashboardComponent";
export default async function Dashboard() {
const data = await getSessionData();
return <dashboardComponent dataGuild={data.dataGuild} />
}5 Replies
HuntawayOP
issue solved one new issue
@Huntaway hello when i try to load component in page it no loadin idk why
js
import { getSessionData } from "@/lib/functions";
import dashboardComponent from "@/clientComponents/dashboardComponent";
export default async function Dashboard() {
const data = await getSessionData();
return <dashboardComponent dataGuild={data.dataGuild} />
}
name of a react component must start with uppercase letter
HuntawayOP
is window.location.href
reload page
??