Type '() => JSX.Element' is not assignable to type 'Element' - SolidJS