In your Banner component, you can inject the currentUser service like this:
class Banner extends Component {
@service currentUser;
}
then you won’t need to pass it through from the widget.
In your Banner component, you can inject the currentUser service like this:
class Banner extends Component {
@service currentUser;
}
then you won’t need to pass it through from the widget.