Upgraded to fc40 but grub only has fc38

Hi Jeff and welcome,

You may have run into the same issue as the person below:

You could follow the same steps to fix the issue.