Skip to content

Commit 784c501

Browse files
Update 418 and 423 error replacement
1 parent 20b6570 commit 784c501

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

app.config.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ export default defineConfig({
1414
const replacements = [
1515
// replace `throw Error(p(418))` with `console.error(p(418))`
1616
['throw Error(p(418))', 'console.error(p(418))'],
17+
['Error(p(418))', 'console.error(p(418))'],
18+
['throw Error(n(418))', 'console.error(n(418))'],
19+
['Error(n(418))', 'console.error(n(418))'],
20+
['throw Error(p(423))', 'console.error(p(423))'],
21+
['throw Error(n(423))', 'console.error(n(423))'],
22+
['Error(n(423))', 'console.error(n(423))'],
1723
// replace `throw new Error('Hydration failed` with `console.error('Hydration failed')`
1824
[
1925
`throw new Error('Hydration failed`,

0 commit comments

Comments
 (0)