Skip to content

ServerKit is a lightweight, modern server control panel for managing web applications, databases, and services on your VPS or dedicated server. Built with Python/Flask backend and React frontend.

307 B
Raw Blame
import { createContext, useContext } from 'react';


export const WalkthroughContext = createContext(null);

export function useWalkthroughs() {
    const value = useContext(WalkthroughContext);
    if (!value) throw new Error('useWalkthroughs must be used inside WalkthroughProvider');
    return value;
}