Although mashed potatoes can be used in place of dry potatoes that are often used to make gnocchi, it's crucial to balance the moisture, as mashed potatoes also contain milk and butter. The ratio of potatoes to flour should be no more than three to one, but for softer gnocchi, it's best to add as little flour as possible and avoid using eggs so that it doesn’t become too hard.