-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Minor upgrades. * Minor upgrades. * Upgrading to React 19.
- Loading branch information
1 parent
21a9668
commit 488f72c
Showing
6 changed files
with
1,306 additions
and
589 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,24 +36,6 @@ import 'ace-builds/src-noconflict/mode-scala.js'; | |
import 'ace-builds/src-noconflict/mode-typescript.js'; | ||
import 'ace-builds/src-noconflict/keybinding-vim.js'; | ||
|
||
/* | ||
* This is an ugly hack that deals with deprecated warnings generated in console log by obsolete | ||
* Overlay and OverlayTrigger components. | ||
* TODO FIXME: Remove after upgrading to react-bootstrap 2.0 and AdminLTE 4 (hopefully, the warnings will disapear). | ||
*/ | ||
// const consoleError = console.error; // eslint-disable-line no-console | ||
// console.error /* eslint-disable-line no-console */ = (msg, ...rest) => { | ||
// if (typeof msg === 'string') { | ||
// if (msg.startsWith('Warning: findDOMNode is deprecated and will be removed in the next major release.')) { | ||
// return; | ||
// } | ||
// if (msg.includes('Support for defaultProps will be removed')) { | ||
// return; | ||
// } | ||
// } | ||
// consoleError(msg, ...rest); | ||
// }; | ||
|
||
// override of worker paths, so they load properly | ||
const ACE_CDN_PREFIX = 'https://cdn.jsdelivr.net/npm/[email protected]/src-noconflict/'; | ||
ace.config.set('basePath', ACE_CDN_PREFIX); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.