chore: format all frontend files (#430)
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
|
||||
import { useRef } from 'react';
|
||||
|
||||
import { type DraftBot } from '@coze-arch/bot-api/developer_api';
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
|
||||
import { type MutableRefObject, useEffect, useState, Fragment } from 'react';
|
||||
|
||||
import { useBotInfoStore } from '@coze-studio/bot-detail-store/bot-info'; // Keep if botId is needed directly
|
||||
@@ -138,7 +138,7 @@ export const useCreateOrUpdateAgent = ({
|
||||
'spaceId',
|
||||
hide_operation
|
||||
? res?.bot_space_list?.[0].id
|
||||
: (spaceId ?? res?.bot_space_list?.[0].id),
|
||||
: spaceId ?? res?.bot_space_list?.[0].id,
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
|
||||
import { type MutableRefObject } from 'react';
|
||||
|
||||
import { type DraftBot } from '@coze-arch/bot-api/developer_api';
|
||||
|
||||
@@ -13,6 +13,6 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
|
||||
export { useCreateAgent } from './hooks/use-create-agent';
|
||||
export { useUpdateAgent } from './hooks/use-update-agent';
|
||||
|
||||
@@ -13,5 +13,5 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
|
||||
/// <reference types='@coze-arch/bot-typings' />
|
||||
|
||||
Reference in New Issue
Block a user