mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2026-01-01 20:28:40 -05:00
refactor: absolute imports with path alias (#2960) [skip ci]
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import useInteraction from '@app/hooks/useInteraction';
|
||||
import React from 'react';
|
||||
import useInteraction from '../hooks/useInteraction';
|
||||
|
||||
interface InteractionContextProps {
|
||||
isTouch?: boolean;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import type { PublicSettingsResponse } from '@server/interfaces/api/settingsInterfaces';
|
||||
import React from 'react';
|
||||
import useSWR from 'swr';
|
||||
import type { PublicSettingsResponse } from '../../server/interfaces/api/settingsInterfaces';
|
||||
|
||||
export interface SettingsContextProps {
|
||||
currentSettings: PublicSettingsResponse;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import type { User } from '@app/hooks/useUser';
|
||||
import { useUser } from '@app/hooks/useUser';
|
||||
import { useRouter } from 'next/dist/client/router';
|
||||
import { useEffect, useRef } from 'react';
|
||||
import type { User } from '../hooks/useUser';
|
||||
import { useUser } from '../hooks/useUser';
|
||||
|
||||
interface UserContextProps {
|
||||
initialUser: User;
|
||||
|
||||
Reference in New Issue
Block a user