I don't know why i am getting this error can someone please help i have checked the syntax and cant find anything wrong. It's probably something stupid but i just can't find what it is.
import React, { Component } from 'react';
//import Node from './Node/Node';
import { render } from 'react-dom'
import './Pathfinder.css';
export default class Pathfinder extends Component {
constructor(props){
super(props);
this.state = {
grid: [],
};
}
}
render(); {
return (
<div>
{this.startGrid()}
</div>
);
}```