mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-29 16:43:16 +00:00
(fix:markdown) code overflows
This commit is contained in:
@@ -337,10 +337,7 @@ const ConversationBubble = forwardRef<
|
||||
</div>
|
||||
</div>
|
||||
) : (
|
||||
<code
|
||||
className={className ? className : 'whitespace-pre-line'}
|
||||
{...props}
|
||||
>
|
||||
<code className="whitespace-pre-line" {...props}>
|
||||
{children}
|
||||
</code>
|
||||
);
|
||||
|
||||
@@ -157,8 +157,7 @@ export const fetchAnswer = createAsyncThunk<
|
||||
result: '',
|
||||
sources: [],
|
||||
};
|
||||
},
|
||||
);
|
||||
});
|
||||
|
||||
export const conversationSlice = createSlice({
|
||||
name: 'conversation',
|
||||
|
||||
Reference in New Issue
Block a user