Gnocchi dough doesn't last well for long because it becomes very sticky. You can prepare the gnocchi around 1 hour in advance but store them on a tray with semolina, covered and in the fridge.