Fix image error

This commit is contained in:
Emil Nielsen 2023-04-11 08:20:50 +07:00
parent 06fe914fa6
commit abd3dc9895
2 changed files with 2 additions and 2 deletions

View File

@ -122,7 +122,7 @@ const StakingSource = (props: {
<div className="flex justify-center items-center"> <div className="flex justify-center items-center">
<div className="relative group"> <div className="relative group">
<Image <Image
src="/assets/moon_1.png" src={"/assets/moons/" + props.stakingSource.image}
alt="Moon" alt="Moon"
width={props.stakingSource.size} width={props.stakingSource.size}
height={props.stakingSource.size} height={props.stakingSource.size}

View File

@ -316,7 +316,7 @@ export default function Home() {
if (isLoading) { if (isLoading) {
return <p>Loading...</p>; return <p>Loading...</p>;
} }
console.log(stakingSources);
return ( return (
<> <>
<Navbar setUserId={setUserId} /> <Navbar setUserId={setUserId} />