Heat the oil in a large high-sided frying pan. Cook the onion and ginger for 2 minutes, or until softened. Add in the curry paste and fry until aromatic. Stir in the peanut butter and vegetable stock until emulsified.
Bring the mixture up to a simmer then add in the sweet potato. Leave on a gentle simmer, stirring occasionally for 8-10 minutes or until the sweet potato is tender.
Pour in the coconut cream, fish sauce, sugar and lime juice then taste for balance of sweet, sour, salty and hot-adjust if needed. Stir in the baby spinach until wilted then turn off the heat.
Toss the chilli, coconut flakes and coriander together in a bowl then scatter over the top of the curry. Serve with steamed rice on the side.