()
| 57 | |
| 58 | let hasLoggedMismatchError = false |
| 59 | const logMismatchError = () => { |
| 60 | if (__TEST__ || hasLoggedMismatchError) { |
| 61 | return |
| 62 | } |
| 63 | // this error should show up in production |
| 64 | console.error('Hydration completed but contains mismatches.') |
| 65 | hasLoggedMismatchError = true |
| 66 | } |
| 67 | |
| 68 | const isSVGContainer = (container: Element) => |
| 69 | container.namespaceURI!.includes('svg') && |
no test coverage detected