chore: fix typo for modal event

This commit is contained in:
Leangseu Kim
2023-11-27 14:56:53 -05:00
committed by leangseu-edx
parent bce25c462a
commit 2fd5e92d2d
2 changed files with 9 additions and 9 deletions

View File

@@ -11,7 +11,7 @@ export const stateKeys = StrictDict({
export const DEFAULT_HEIGHT = '100vh';
const useModalIFrameBehavior = () => {
const useModalIFrameData = () => {
const [isOpen, setIsOpen] = useKeyedState(stateKeys.isOpen, false);
const [options, setOptions] = useKeyedState(stateKeys.options, { height: DEFAULT_HEIGHT });
@@ -42,4 +42,4 @@ const useModalIFrameBehavior = () => {
};
};
export default useModalIFrameBehavior;
export default useModalIFrameData;