Route adapted to the new ModalsContainerProvider api

This commit is contained in:
NikolaBorislavovHristov 2019-05-15 12:14:44 +03:00
parent d1ac99c3b6
commit 04a47d4e54

View file

@ -10,7 +10,7 @@ const Route = ({ children }) => {
}, []);
return (
<div className={styles['route-container']}>
<ModalsContainerProvider modalsContainerClassName={styles['modals-container']}>
<ModalsContainerProvider containerClassName={styles['modals-container']}>
<FocusableProvider onModalsContainerDomTreeChange={onModalsContainerDomTreeChange}>
<div className={styles['route-content']}>
{children}