mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2026-01-01 04:08:45 -05:00
feat: tooltip foundation (#2950)
* feat: add foundation for tooltips * fix: add lang * refactor: remove React import where no longer necessary
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import type { ReactNode } from 'react';
|
||||
import React from 'react';
|
||||
|
||||
export type AvailableLocale =
|
||||
@@ -133,7 +132,7 @@ export const availableLanguages: AvailableLanguageObject = {
|
||||
|
||||
export interface LanguageContextProps {
|
||||
locale: AvailableLocale;
|
||||
children: (locale: string) => ReactNode;
|
||||
children: (locale: string) => React.ReactNode;
|
||||
setLocale?: React.Dispatch<React.SetStateAction<AvailableLocale>>;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { useRouter } from 'next/dist/client/router';
|
||||
import React, { useEffect, useRef } from 'react';
|
||||
|
||||
import { useEffect, useRef } from 'react';
|
||||
import type { User } from '../hooks/useUser';
|
||||
import { useUser } from '../hooks/useUser';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user