Migration order - Teams and Sharepoint

Hi,

Just a quick question - in which order should we migrate Teams and Sharepoint?

Reason for asking is that we've just done our first Teams migration, but some things are missing even though they were created in the Teams app - most notably Lists. So we're now doing a Sharepoint migration of the site that underpins that Teams group so that the rest of the files are migrated.

Is this the right order to do things, or should we have done the Sharepoint migration first followed by Teams? What we don't want is a bunch of duplicate files coming across.

Thoughts?