diff --git a/src/components/maps/RouteRowView.tsx b/src/components/maps/RouteRowView.tsx index a9c943f..d69ef7b 100644 --- a/src/components/maps/RouteRowView.tsx +++ b/src/components/maps/RouteRowView.tsx @@ -51,7 +51,9 @@ export const RouteRowView = ({ (tab === 'all' || tab === 'starred') && is_starred && !is_admin && } - {(title || _id)} + + {(title || _id)} +
diff --git a/src/utils/format.ts b/src/utils/format.ts index 5710576..30d1868 100644 --- a/src/utils/format.ts +++ b/src/utils/format.ts @@ -15,3 +15,5 @@ export const toTranslit = (string: string): string => ( ); export const parseDesc = (text: string): string => text.replace(/(\n{2,})/ig, "\n\n"); + +// export const colorizeTitle = (text: string): string => text.replace(/(\[[^\]^]+\])/, ``)