component doesnt react to changes in state - SolidJS