Skip to content

Commit

Permalink
chore: tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed Jan 17, 2025
1 parent f007e42 commit 088b48c
Showing 1 changed file with 18 additions and 24 deletions.
42 changes: 18 additions & 24 deletions packages/client/src/components/CommentCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,30 +15,24 @@ import { useLikeStorage, useUserInfo } from '../composables/index.js';
import { getTimeAgo, isLinkHttp } from '../utils/index.js';
import { configKey } from '../config/index.js';
const props = withDefaults(
defineProps<{
/**
* Comment data
*/
comment: WalineComment;
/**
* Current comment to be edited
*/
edit?: WalineComment | null;
/**
* Root comment id
*/
rootId: number;
/**
* Current comment to be replied
*/
reply?: WalineComment | null;
}>(),
{
edit: null,
reply: null,
},
);
const props = defineProps<{
/**
* Comment data
*/
comment: WalineComment;
/**
* Current comment to be edited
*/
edit?: WalineComment | null;
/**
* Root comment id
*/
rootId: number;
/**
* Current comment to be replied
*/
reply?: WalineComment | null;
}>();
const emit = defineEmits<{
(event: 'log'): void;
Expand Down

0 comments on commit 088b48c

Please sign in to comment.