fix: trace return null cause page crash (#15588)

pull/14262/head
Joel 1 year ago committed by Bharat Ramanathan
parent d8e32de24a
commit a688b3bdff

@ -84,7 +84,7 @@ const Panel: FC = () => {
? OpikIcon ? OpikIcon
: inUseTracingProvider === TracingProvider.weave : inUseTracingProvider === TracingProvider.weave
? WeaveIcon ? WeaveIcon
: null : LangsmithIcon
const [langSmithConfig, setLangSmithConfig] = useState<LangSmithConfig | null>(null) const [langSmithConfig, setLangSmithConfig] = useState<LangSmithConfig | null>(null)
const [langFuseConfig, setLangFuseConfig] = useState<LangFuseConfig | null>(null) const [langFuseConfig, setLangFuseConfig] = useState<LangFuseConfig | null>(null)

Loading…
Cancel
Save