Heat an oven-safe frying pan over medium heat. Melt the coconut oil in it.
Add the onion and garlic and cook, stirring occasionally, for about 3 minutes until they become transparent.
Add the sweet potatoes. Reduce heat to low. Cover and cook until they become tender, stirring occasionally. This takes about 5 to 10 minutes, depending on their thickness.
Add the spice mix. Stir.
Turn the heat back up to medium. Pour the whisked eggs over everything else. Cover, and cook until the eggs are beginning to set around the edges.
Pop the whole pan under a broiler in the oven for a minute or two just to finish off the top. Serve.
Video
Notes
The sweet potatoes should be soft before you add the eggs.
Watch the frittata closely when it's under the broiler. It doesn't need to be there long!