Ravenous Part 1-Businesses not all rendering for some reason

Hey Everyone!

So I’m on part one of the ravenous project and I am able to get only one business to render onto the screen even though I have six business components in my businesslist component. Here is the code below:

 import React from 'react';
import './BusinessList.css';
import Business from '../Business/Business';

class BusinessList extends React.Component {
    render() {
        return(
            <div className="BusinessList">
                <Business />
                <Business />
                <Business />
                <Business />
                <Business />
                <Business />
                 
            </div>
                         
        );
    }
}

export default BusinessList;

Nvermind got it fixed! Happy coding to all!

1 Like

what was your solution?