Skip to content

Commit

Permalink
fix: basic directive error throw adjusted
Browse files Browse the repository at this point in the history
  • Loading branch information
markuczy committed Feb 28, 2024
1 parent 34a8f53 commit 122bf3f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export class BasicDirective implements DoCheck {
@Optional() private searchHeader?: SearchHeaderComponent
) {
if (!searchHeader) {
throw 'Simple directive can only be used inside search header component'
throw 'Basic directive can only be used inside search header component'
}
}
ngDoCheck(): void {
Expand Down

0 comments on commit 122bf3f

Please sign in to comment.