Skip to content

Commit

Permalink
update error and package lock
Browse files Browse the repository at this point in the history
  • Loading branch information
wizardlyhel committed Jun 12, 2024
1 parent cb770ad commit 3d4dd80
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/hydrogen/src/utils/warning.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const warnOnce = (string: string) => {
const errors = new Set<string>();
export const errorOnce = (string: string) => {
if (!errors.has(string)) {
console.error(string);
console.error(new Error(string));
errors.add(string);
}
};

0 comments on commit 3d4dd80

Please sign in to comment.