- Deleted `CharacterComponent` and `CharacterDetail` files from the project. - Refactored related logic to improve code maintainability and reduce redundancy.
12 lines
286 B
TypeScript
12 lines
286 B
TypeScript
import {Context, createContext} from "react";
|
|
|
|
export interface SeriesContextProps {
|
|
seriesId: string;
|
|
localSeries: boolean;
|
|
}
|
|
|
|
export const SeriesContext: Context<SeriesContextProps> = createContext<SeriesContextProps>({
|
|
seriesId: '',
|
|
localSeries: false
|
|
});
|