File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
packages/gitbook/src/components Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ async function DescriptionForSearchToolCall(props: {
160160 const hasResults = toolCall . results . length > 0 ;
161161
162162 return (
163- < details className = { tcls ( ' -ml-5 group flex w-full flex-col' ) } >
163+ < details className = " -ml-5 group flex w-full flex-col" >
164164 < summary
165165 className = { tcls (
166166 '-mx-2 flex list-none items-center gap-2 circular-corners:rounded-2xl rounded-corners:rounded-md pr-4 pl-7 transition-colors marker:hidden' ,
Original file line number Diff line number Diff line change @@ -58,7 +58,6 @@ export function EmbeddableIframeAPI(props: {
5858 chatController . postMessage ( {
5959 message : message . message ,
6060 } ) ;
61- router . push ( `${ baseURL } /assistant` ) ;
6261 break ;
6362 }
6463 case 'configure' : {
@@ -91,9 +90,7 @@ export function EmbeddableIframeAPI(props: {
9190/**
9291 * Hook to get the configuration from the parent window.
9392 */
94- export function useEmbeddableConfiguration <
95- T = GitBookEmbeddableConfiguration & { baseURL : string ; siteTitle : string } ,
96- > (
93+ export function useEmbeddableConfiguration < T = GitBookEmbeddableConfiguration > (
9794 // @ts -expect-error - This is a workaround to allow the function to be optional.
9895 fn : ( state : GitBookEmbeddableConfiguration ) => T = ( state ) => state
9996) {
You can’t perform that action at this time.
0 commit comments