mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-30 21:04:59 +00:00
* feat(share): record and display share activity * style(share): remove activity entry borders * docs(share): explain share link activity
15 lines
349 B
TypeScript
15 lines
349 B
TypeScript
import { createFileRoute, Outlet } from '@tanstack/react-router'
|
|
import { PublicShareViewProvider } from '@/ui/hooks/use-public-share-view'
|
|
|
|
function ShareLayout() {
|
|
return (
|
|
<PublicShareViewProvider>
|
|
<Outlet />
|
|
</PublicShareViewProvider>
|
|
)
|
|
}
|
|
|
|
export const Route = createFileRoute('/share/$shareId')({
|
|
component: ShareLayout,
|
|
})
|