Skip to content

Commit c27b0c4

Browse files
refactor: shortened exception message
Co-authored-by: Ryan Weaver <[email protected]>
1 parent 3f01d2f commit c27b0c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/React/Resources/assets/src/render_controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export default class extends Controller {
2828
this._dispatchEvent('react:connect', { component: this.componentValue, props: props });
2929

3030
if (!this.componentValue) {
31-
throw new Error('No component specified for react controller');
31+
throw new Error('No component specified.');
3232
}
3333

3434
const component = window.resolveReactComponent(this.componentValue);

0 commit comments

Comments
 (0)