- Deleted redundant components (`AddActionButton`, `AlertBox`, `AlertStack`, `BackButton`, `CancelButton`, and `CollapsableArea`) and related files. - Removed unused models (`Book`, `BookSerie`, `BookTables`, `Character`, and `Chapter`) to reduce codebase clutter. - Updated project structure and references to reflect these removals.
12 lines
250 B
TypeScript
12 lines
250 B
TypeScript
import {createContext} from 'react';
|
|
|
|
export interface OfflineContextType {
|
|
isCurrentlyOffline: () => boolean;
|
|
}
|
|
|
|
const OfflineContext = createContext<OfflineContextType>({
|
|
isCurrentlyOffline: () => false,
|
|
});
|
|
|
|
export default OfflineContext;
|