Shield external portal jumps (keep EXTERNAL_* for later), serve /nav from static build, and proxy /book + /community to vertical Next apps with Caddy notes. Co-authored-by: Cursor <cursoragent@cursor.com>
15 lines
314 B
TypeScript
15 lines
314 B
TypeScript
import { PropsWithChildren } from 'react'
|
|
import { useLaunch } from '@tarojs/taro'
|
|
import { track } from './utils/track'
|
|
import './app.scss'
|
|
|
|
function App({ children }: PropsWithChildren) {
|
|
useLaunch(() => {
|
|
track('app_launch', { page: 'app', label: 'launch' })
|
|
})
|
|
|
|
return children
|
|
}
|
|
|
|
export default App
|