Skip to content

Commit

Permalink
(fix:markdown) code overflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ManishMadan2882 committed Nov 26, 2024
1 parent a86b342 commit a8231d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
5 changes: 1 addition & 4 deletions frontend/src/conversation/ConversationBubble.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
);
Expand Down
3 changes: 1 addition & 2 deletions frontend/src/conversation/conversationSlice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,7 @@ export const fetchAnswer = createAsyncThunk<
result: '',
sources: [],
};
},
);
});

export const conversationSlice = createSlice({
name: 'conversation',
Expand Down

0 comments on commit a8231d3

Please sign in to comment.