mirror of
https://github.com/yyhuni/xingrin.git
synced 2026-01-31 11:46:16 +08:00
- Replace all Chinese inline comments with English equivalents across 24 frontend component files - Update JSDoc comments to use English for better code documentation - Improve code readability and maintainability for international development team - Standardize comment style across directories, endpoints, ip-addresses, subdomains, and websites components - Ensure consistency with previous frontend refactoring efforts
14 lines
342 B
TypeScript
14 lines
342 B
TypeScript
'use client'
|
|
|
|
import { useRoutePrefetch } from '@/hooks/use-route-prefetch'
|
|
|
|
/**
|
|
* Route prefetch component
|
|
* Automatically prefetches JS/CSS resources for commonly used pages after app startup
|
|
* This is an invisible component, only used to execute prefetch logic
|
|
*/
|
|
export function RoutePrefetch() {
|
|
useRoutePrefetch()
|
|
return null
|
|
}
|