Skip to content

Commit

Permalink
fix: format issue
Browse files Browse the repository at this point in the history
  • Loading branch information
JimmyLv committed Mar 7, 2023
1 parent bb0fd6c commit bcb8fe4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/formatSummary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { extractSentence } from "~/utils/extractSentence";
import { extractTimestamp } from "~/utils/extractTimestamp";

export function formatSummary(summary: string) {
const summaryArray = summary.split("- ");
const summaryArray = summary.split("\n- ");
const formattedSummary = summaryArray
.map((s) => {
const matchResult = extractSentence(s);
Expand Down

1 comment on commit bcb8fe4

@vercel
Copy link

@vercel vercel bot commented on bcb8fe4 Mar 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.