fix lint: use let instead of const for $ref
Fixes lint no-const-assign.
This commit is contained in:
parent
935fce338a
commit
2bd4323b17
4 changed files with 6 additions and 6 deletions
|
|
@ -74,8 +74,8 @@ const props = defineProps<{
|
|||
postId: string;
|
||||
}>();
|
||||
|
||||
const post = $ref(null);
|
||||
const error = $ref(null);
|
||||
let post = $ref(null);
|
||||
let error = $ref(null);
|
||||
const otherPostsPagination = {
|
||||
endpoint: 'users/gallery/posts' as const,
|
||||
limit: 6,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue