@mantine/core
Version:
React components library focused on usability, accessibility and developer experience
13 lines (11 loc) • 481 B
JavaScript
'use client';
function suppressNextjsWarning() {
const originalError = console.error;
console.error = (...args) => {
if (args.length > 1 && typeof args[0] === "string" && args[0].toLowerCase().includes("extra attributes from the server") && typeof args[1] === "string" && args[1].toLowerCase().includes("data-mantine-color-scheme")) ; else {
originalError(...args);
}
};
}
export { suppressNextjsWarning };
//# sourceMappingURL=suppress-nextjs-warning.mjs.map