Files
shumai/packages/webui/routes/share/$shareId.tsx
T
Yiling-J e32445684f feat(share): record and display share activity (#549)
* feat(share): record and display share activity

* style(share): remove activity entry borders

* docs(share): explain share link activity
2026-11-25 12:23:11 +08:00

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,
})