Skip to content

Commit

Permalink
chore: fixes typo in error message for detecting a circular dependenc…
Browse files Browse the repository at this point in the history
…y in theme.ts (#852)
  • Loading branch information
lordrhodos authored and RomanHotsiy committed Mar 18, 2019
1 parent dc77d8f commit 2f65f05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export function resolveTheme(theme: ThemeInterface): ResolvedThemeInterface {
counter++;
if (counter > 1000) {
throw new Error(
`Theme probably contains cirucal dependency at ${currentPath}: ${val.toString()}`,
`Theme probably contains circular dependency at ${currentPath}: ${val.toString()}`,
);
}

Expand Down

0 comments on commit 2f65f05

Please sign in to comment.