Files
discord-decomp/_bundle/Module1831.js
T
2026-11-01 12:12:55 +02:00

12 lines
373 B
JavaScript

// Metro module 1831 (f1832).
import { useContext, createContext } from "react";
const context = createContext(void 0);
export { context as ToolbarContext };
export const useToolbarContext = () => {
const context2 = useContext(context);
if (context2) {
return context2;
}
throw new Error("KeyboardToolbar.* component must be used inside <KeyboardToolbar>");
};