Skip to content

Commit

Permalink
Add router decorator to Trigger stories so they load correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanGreene authored and tekton-robot committed Aug 23, 2024
1 parent bc48f24 commit f4aa412
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/components/src/components/Trigger/Trigger.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

import { withRouter } from 'storybook-addon-remix-react-router';
import Trigger from './Trigger';

const props = {
Expand Down Expand Up @@ -77,6 +78,7 @@ const props = {

export default {
component: Trigger,
decorators: [withRouter()],
title: 'Trigger'
};

Expand Down

0 comments on commit f4aa412

Please sign in to comment.