Upgradable Smart Contract, Initializable Contract

Hello everyone, i have searched about this i think this is the best place to ask the question. So...
Consider this SC:

contract MyContract is Initializable, ERC20Upgradeable {
     function initialize() initializer {..}
}

Here im using initializer modifier from Initializeable contract, but what if i dont inherit it like this:

contract MyContract is ERC20Upgradeable {
     function initialize() initializer {..}
}

And use again initializer modifier but now, from ERC20Upgradeable.

Is there any issues with this or it is okay both ways?
Thank you!