fix LangSmith project config error (#7996)
This commit is contained in:
parent
d542b15cc0
commit
feefeb44d7
4 changed files with 59 additions and 8 deletions
|
|
@ -48,9 +48,10 @@ const ProviderPanel: FC<Props> = ({
|
|||
e.preventDefault()
|
||||
e.stopPropagation()
|
||||
|
||||
const url = `${config?.host}/project/${config?.project_key}`
|
||||
window.open(url, '_blank', 'noopener,noreferrer')
|
||||
}, [])
|
||||
const url = config?.project_url
|
||||
if (url)
|
||||
window.open(url, '_blank', 'noopener,noreferrer')
|
||||
}, [config?.project_url])
|
||||
|
||||
const handleChosen = useCallback((e: React.MouseEvent) => {
|
||||
e.stopPropagation()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue