Sweat onion in peanut oil, add ginger and garlic. Cook until fragrant. 