mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2026-01-01 04:08:45 -05:00
refactor: update a few dev deps and convert to using type imports where possible (#2886)
* build: bump deps and add some new eslint rules * refactor: run eslint --fix on code to convert to type imports where possible
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import React, { ReactNode } from 'react';
|
||||
import type { ReactNode } from 'react';
|
||||
import React from 'react';
|
||||
|
||||
export type AvailableLocale =
|
||||
| 'ca'
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import React from 'react';
|
||||
import useSWR from 'swr';
|
||||
import { PublicSettingsResponse } from '../../server/interfaces/api/settingsInterfaces';
|
||||
import type { PublicSettingsResponse } from '../../server/interfaces/api/settingsInterfaces';
|
||||
|
||||
export interface SettingsContextProps {
|
||||
currentSettings: PublicSettingsResponse;
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import { useRouter } from 'next/dist/client/router';
|
||||
import React, { useEffect, useRef } from 'react';
|
||||
import { User, useUser } from '../hooks/useUser';
|
||||
import type { User } from '../hooks/useUser';
|
||||
import { useUser } from '../hooks/useUser';
|
||||
|
||||
interface UserContextProps {
|
||||
initialUser: User;
|
||||
|
||||
Reference in New Issue
Block a user