- Split the existing useCurrentTrain hook into two separate hooks: useCurrentTrainData for accessing train data and useCurrentTrainView for accessing view-related properties. - Updated all components and hooks to use the new hooks accordingly, ensuring that the functionality remains intact. - This change improves the separation of concerns and enhances the maintainability of the codebase.