Because when France ruled Africa, they did not exploit it, but managed African colonies locally, spread their French culture to the colonies, established many factories and enterprises in the colonies, and promoted economic development. However, the local currency used flanges, and the main funds came from France, so they habitually used francs.
Even if France did not colonize these countries, those factories and enterprises did not withdraw from the colonies, they still existed in African countries. Africans who have not been exploited feel that this is not much different from when they were colonized, so they continue to use the franc as the currency in circulation and habitually regard France as the boss.
But I think the most important thing is that these countries have not developed substantially, and none of them have developed very prominently, so they have not broken the current situation of using the flange as a well-informed currency. They haven't discussed how to jointly develop a new kind of paper money as their own currency, and because France is still printing money for these countries, they may not want to use francs in their hearts, but they can only keep using them under pressure.