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

11 lines
325 B
JavaScript

// Metro module 5251 (f5252).
import { useContext } from "react";
import { BottomSheetContext } from "./Module5252";
export const useBottomSheet = () => {
const context = useContext(BottomSheetContext);
if (context === null) {
throw "'useBottomSheet' cannot be used out of the BottomSheet!";
}
return context;
};