Usage of createResource and correct access to the result - SolidJS