feat(miniprogram): enable sharing on all pages
This commit is contained in:
@@ -13,6 +13,7 @@ import {
|
||||
PeerKind,
|
||||
} from '../../../services/chat'
|
||||
import { useSystemBanner } from '@/components/system-banner/use-system-banner'
|
||||
import { usePageShare } from '@/utils/page-share'
|
||||
import './index.scss'
|
||||
|
||||
function normalizePeerKind(value?: string): PeerKind {
|
||||
@@ -194,6 +195,7 @@ function getAudioUrlDebugInfo(rawUrl: string) {
|
||||
}
|
||||
|
||||
export default function ChatDetail() {
|
||||
usePageShare()
|
||||
const systemBanner = useSystemBanner()
|
||||
const router = useRouter()
|
||||
const params = router.params
|
||||
|
||||
Reference in New Issue
Block a user