Pat the gnocchi dry after boiling and dusting them with a bit of flour before cooking to reduce the risk of sticking to the pan.