From 145017748ea2f9664702abd5234b2e8154f109be Mon Sep 17 00:00:00 2001 From: Alessio Biancalana Date: Fri, 26 Jul 2024 09:22:22 +0200 Subject: [PATCH] Fix client-api import using preview-api --- .../common/ApiKeySettingsModal/ApiKeySettingsModal.stories.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/common/ApiKeySettingsModal/ApiKeySettingsModal.stories.jsx b/assets/js/common/ApiKeySettingsModal/ApiKeySettingsModal.stories.jsx index 6f616f541f..312ac945d2 100644 --- a/assets/js/common/ApiKeySettingsModal/ApiKeySettingsModal.stories.jsx +++ b/assets/js/common/ApiKeySettingsModal/ApiKeySettingsModal.stories.jsx @@ -1,6 +1,6 @@ /* eslint-disable no-console, react/function-component-definition */ import React from 'react'; -import { useArgs } from '@storybook/client-api'; +import { useArgs } from '@storybook/preview-api'; import ApiKeySettingsModal from './ApiKeySettingsModal'; export default {