oh lord. prettier eslint and all that
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { type IInterval } from '@/types';
|
||||
import type { IInterval } from '@/types';
|
||||
|
||||
export function formatDateInterval(interval: IInterval, date: Date): string {
|
||||
if (interval === 'hour' || interval === 'minute') {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { useMemo } from 'react';
|
||||
import { useRouter } from 'next/router';
|
||||
import { type z } from 'zod';
|
||||
import type { z } from 'zod';
|
||||
|
||||
export function useQueryParams<Z extends z.ZodTypeAny = z.ZodNever>(zod: Z) {
|
||||
const router = useRouter();
|
||||
|
||||
Reference in New Issue
Block a user