In both useGames.ts and usePlatforms.ts, an identical Platform interface was defined:
export interface Platform {
id: number;
name: string;
slug: string;
}
As a result, the interface can be imported from either hook, including into the App component. Is there a reason to not have a single definition that is then imported as necessary?