Skip to content

Commit c6dec8e

Browse files
committed
Cleanup merge
1 parent 43dafd0 commit c6dec8e

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

packages/gitbook/src/components/AI/server-actions/AIToolCallsSummary.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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',

packages/gitbook/src/components/Embeddable/EmbeddableIframeAPI.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff 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
) {

0 commit comments

Comments
 (0)