knockoff nano and a hall sensor

Will that board not take data from the sensor?

How should we know as neither we've seen the wiring diagram of your setup yet nor got links to the used hardware (especially the hall sensor).
It's probably not a code issue if it works on the UNO as the Nano uses the same processor.