If El Salvador divides their Bitcoin into several wallets and keeps them separate, then they have done a practical and reasonable thing. Not only buying Bitcoin, but also ensuring its security. Not only for quantum computing, if it is in an insecure wallet or exchange, hackers can steal it at any time. El Salvador has borrowed a lot of money from the IMF. The IMF has given conditions on their Bitcoin policy on this occasion. So, Bitcoin is already a valuable asset, but it has become even more valuable to them.
If quantum computing poses any kind of threat to the Bitcoin network, then perhaps the developers will also take anti-quantum measures. However, how true or false this is cannot be said at the moment.