The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
fix: add icon for code block (#10924)
Anoop Pd51df80c1344
diff --git a/packages/twenty-front/src/modules/activities/blocks/utils/getSlashMenu.ts b/packages/twenty-front/src/modules/activities/blocks/utils/getSlashMenu.tsindex 760a778b57b..7bac01b75ff 100644--- a/packages/twenty-front/src/modules/activities/blocks/utils/getSlashMenu.ts+++ b/packages/twenty-front/src/modules/activities/blocks/utils/getSlashMenu.ts@@ -1,5 +1,6 @@import { getDefaultReactSlashMenuItems } from '@blocknote/react';import {+ IconCode,IconComponent,IconFile,IconH1,@@ -27,6 +28,7 @@ const Icons: Record<string, IconComponent> = {'Numbered List': IconListNumbers,'Bullet List': IconList,'Check List': IconListCheck,+ 'Code Block': IconCode,Paragraph: IconPilcrow,Table: IconTable,Image: IconPhoto,