fix: eslint (#8185)
Co-authored-by: Prateek Shourya <prateekshourya29@gmail.com>
This commit is contained in:
parent
82c970ac4b
commit
85d90030cf
138 changed files with 5054 additions and 4747 deletions
|
|
@ -1,4 +1,3 @@
|
|||
export * from "./empty-states";
|
||||
export * from "./loaders";
|
||||
export * from "./recents";
|
||||
export * from "./empty-states";
|
||||
|
|
|
|||
|
|
@ -173,3 +173,5 @@ const IntegrationGuide = observer(function IntegrationGuide() {
|
|||
});
|
||||
|
||||
export default IntegrationGuide;
|
||||
|
||||
export { IntegrationGuide };
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
export * from "./content";
|
||||
export * from "./title";
|
||||
export * from "./root";
|
||||
export * from "./quick-action-button";
|
||||
export * from "./display-filters";
|
||||
export * from "./content";
|
||||
export * from "./quick-action-button";
|
||||
export * from "./root";
|
||||
export * from "./title";
|
||||
|
|
|
|||
|
|
@ -1 +1,24 @@
|
|||
export * from "./requestIdleCallback";
|
||||
if (typeof window !== "undefined" && window) {
|
||||
// Add request callback polyfill to browser in case it does not exist
|
||||
window.requestIdleCallback =
|
||||
window.requestIdleCallback ??
|
||||
function (cb) {
|
||||
const start = Date.now();
|
||||
return setTimeout(function () {
|
||||
cb({
|
||||
didTimeout: false,
|
||||
timeRemaining: function () {
|
||||
return Math.max(0, 50 - (Date.now() - start));
|
||||
},
|
||||
});
|
||||
}, 1);
|
||||
};
|
||||
|
||||
window.cancelIdleCallback =
|
||||
window.cancelIdleCallback ??
|
||||
function (id) {
|
||||
clearTimeout(id);
|
||||
};
|
||||
}
|
||||
|
||||
export {};
|
||||
|
|
|
|||
|
|
@ -1,24 +0,0 @@
|
|||
if (typeof window !== "undefined" && window) {
|
||||
// Add request callback polyfill to browser in case it does not exist
|
||||
window.requestIdleCallback =
|
||||
window.requestIdleCallback ??
|
||||
function (cb) {
|
||||
const start = Date.now();
|
||||
return setTimeout(function () {
|
||||
cb({
|
||||
didTimeout: false,
|
||||
timeRemaining: function () {
|
||||
return Math.max(0, 50 - (Date.now() - start));
|
||||
},
|
||||
});
|
||||
}, 1);
|
||||
};
|
||||
|
||||
window.cancelIdleCallback =
|
||||
window.cancelIdleCallback ??
|
||||
function (id) {
|
||||
clearTimeout(id);
|
||||
};
|
||||
}
|
||||
|
||||
export {};
|
||||
Loading…
Add table
Add a link
Reference in a new issue