Skip to content

Commit

Permalink
fix comment bug
Browse files Browse the repository at this point in the history
  • Loading branch information
olexh committed Mar 1, 2024
1 parent 4fcb709 commit 05096df
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion services/api/collections/createCollection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export type Request = {
title: string;
tags: string[];
content: {
comment: string;
comment: string | null;
label: string | null;
order: number;
slug: string;
Expand Down
2 changes: 1 addition & 1 deletion services/api/collections/updateCollection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ type Request = {
title: string;
tags: string[];
content: {
comment: string;
comment: string | null;
label: string | null;
order: number;
slug: string;
Expand Down
2 changes: 1 addition & 1 deletion services/providers/collection-provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export default function CollectionProvider({ children }: Props) {
.map((group, i) => {
return group.items.map((item, k) => {
return {
comment: '',
comment: null,
label: group.title || null,
order: 0,
slug: item.content.slug,
Expand Down

1 comment on commit 05096df

@vercel
Copy link

@vercel vercel bot commented on 05096df Mar 1, 2024

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

hikka – ./

www.hikka.io
hikka-olexh.vercel.app
hikka.io
hikka-git-main-olexh.vercel.app

Please sign in to comment.