diff --git a/database/data.ts b/database/data.ts index 2beec1764..a947c1aa5 100644 --- a/database/data.ts +++ b/database/data.ts @@ -263,7 +263,7 @@ export const sidebarData: ISidebar[] = [ ], }, { - category: 'competitive_programming', + category: 'cp - competitive pro', subcategory: [ { name: 'platforms', url: '/platforms', resources: DB.platforms }, ], diff --git a/types/index.ts b/types/index.ts index bc7feb369..a413c891d 100644 --- a/types/index.ts +++ b/types/index.ts @@ -44,7 +44,7 @@ export type Category = | 'youtube' | 'other' | 'devops' - | 'competitive_programming' + | 'cp - competitive pro' export type SubCategories = { name: string