mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2026-01-01 04:08:45 -05:00
chore(deps): update react to 18 (#2943)
This commit is contained in:
@@ -2,14 +2,15 @@ import React from 'react';
|
||||
import useInteraction from '../hooks/useInteraction';
|
||||
|
||||
interface InteractionContextProps {
|
||||
isTouch: boolean;
|
||||
isTouch?: boolean;
|
||||
children?: React.ReactNode;
|
||||
}
|
||||
|
||||
export const InteractionContext = React.createContext<InteractionContextProps>({
|
||||
isTouch: false,
|
||||
});
|
||||
|
||||
export const InteractionProvider: React.FC = ({ children }) => {
|
||||
export const InteractionProvider = ({ children }: InteractionContextProps) => {
|
||||
const isTouch = useInteraction();
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user