Skip to content

Commit 3250558

Browse files
committed
Disable all usage warning banners and modals
1 parent 0825305 commit 3250558

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

jsapp/js/components/usageLimits/overLimitBanner.component.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ const OverLimitBanner = (props: OverLimitBannerProps) => {
1919
return null;
2020
}
2121

22+
// disable all banners for now
23+
return <></>;
24+
2225
return (
2326
<div
2427
className={cx(styles.limitBannerContainer, {

jsapp/js/components/usageLimits/overLimitModal.component.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ function OverLimitModal(props: OverLimitModalProps) {
3838
setShow(props.show);
3939
}, [props.show]);
4040

41+
// disable modal entirely for now
42+
return <></>;
43+
4144
return (
4245
<div>
4346
<KoboModal isOpen={show} onRequestClose={toggleModal} size='medium'>

0 commit comments

Comments
 (0)