How to make createEffect to mutate two signals by condition? - SolidJS