mirror of
https://github.com/robonen/lorem-blog.git
synced 2026-08-20 02:12:00 +00:00
chore: lint
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { type MaybeRefOrGetter, onScopeDispose, toValue, watchEffect } from 'vue';
|
||||
import type { MaybeRefOrGetter } from 'vue';
|
||||
import { onScopeDispose, toValue, watchEffect } from 'vue';
|
||||
|
||||
export function useBodyScrollLock(isLocked: MaybeRefOrGetter<boolean>) {
|
||||
let originalOverflow: string | null = null;
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import type { TemplateRef } from 'vue';
|
||||
import { clamp } from '@robonen/stdlib';
|
||||
import { nextTick, onMounted, onUnmounted, ref, type TemplateRef, watch } from 'vue';
|
||||
import { nextTick, onMounted, onUnmounted, ref, watch } from 'vue';
|
||||
|
||||
export function useTextAreaAutosize(textareaRef: TemplateRef<HTMLTextAreaElement | null>) {
|
||||
const minHeight = ref(0);
|
||||
|
||||
Reference in New Issue
Block a user