You just need a separate 30 amp fuse between the panel and the AC shorepower connection, within 6 feet of the shorepower connection.
is OK; but the details are not.
The ABYC standard calls for a separate double pole circuit breaker (not a fuse or set of fuses) rated for the shore power service
if the distance, measured along the conductor from the inlet to the main AC panel board double pole circuit breaker is greater than 10 feet.
A Blue Sea Systems part nr. 8077 AC Main - PN 8077 - Blue Sea Systems
is a good solution for this issue. Mount it in a utility box in a dry, accessible place and you are in compliance.
Hope this helps.