After minting erc20 token , increase allowance

After minting erc20 token ,i increase the allowance. Is this the correct way to handle erc20 token?

Code snippet is below:

    _mint(account, amount);
    _approve(
        account,
        msg.sender,
        amount
    );

It depends on the objective. Are you expecting to approve account for msg.sender or the other way around?

Yes, the purpose is to approve msg.sender to spend the erc20 tokens in account

Yes, then it is correct.

great. thank you. It helps.