feat: unify research in profile-bound decks with TweetDeck-style UI
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import { useEffect, useState } from 'react'
|
||||
export function useWebMCPSupported() {
|
||||
const [supported, setSupported] = useState(false)
|
||||
useEffect(() => {
|
||||
setSupported(Boolean(document.modelContext))
|
||||
}, [])
|
||||
return supported
|
||||
}
|
||||
Reference in New Issue
Block a user