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.

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

export const ShellDockContext = createContext(null);

export function useShellDock() {
    const context = useContext(ShellDockContext);
    if (!context) throw new Error('useShellDock must be used within ShellDockProvider');
    return context;
}