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.
|
||||
*/
|
||||
|
||||
|
||||
interface ApiParam {
|
||||
name: string;
|
||||
input: {
|
||||
|
||||
@@ -249,14 +249,14 @@ export const PluginPanel: React.FC<PluginPanelProps> = ({
|
||||
const timePrefixText = showPublishTime
|
||||
? I18n.t('mkl_plugin_publish')
|
||||
: showCreateTime
|
||||
? I18n.t('mkl_plugin_created')
|
||||
: I18n.t('mkl_plugin_updated');
|
||||
? I18n.t('mkl_plugin_created')
|
||||
: I18n.t('mkl_plugin_updated');
|
||||
const timeToShow =
|
||||
(showPublishTime
|
||||
? Number(listed_at)
|
||||
: showCreateTime
|
||||
? Number(create_time)
|
||||
: Number(update_time)) || 0;
|
||||
? Number(create_time)
|
||||
: Number(update_time)) || 0;
|
||||
|
||||
const renderAuthStatus = () => {
|
||||
if (isUndefined(auth_mode) || auth_mode === PluginAuthMode.NoAuth) {
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
|
||||
/* eslint-disable @coze-arch/max-line-per-function */
|
||||
|
||||
import { useState } from 'react';
|
||||
@@ -32,10 +32,7 @@ import {
|
||||
UIButton,
|
||||
UITag,
|
||||
} from '@coze-arch/bot-semi';
|
||||
import {
|
||||
ProductStatus,
|
||||
type public_api,
|
||||
} from '@coze-arch/bot-api/product_api';
|
||||
import { ProductStatus, type public_api } from '@coze-arch/bot-api/product_api';
|
||||
import { type PluginApi } from '@coze-arch/bot-api/plugin_develop';
|
||||
import { useViewExample } from '@coze-agent-ide/bot-plugin-tools/useViewExample';
|
||||
import { Popconfirm } from '@coze-arch/coze-design';
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
|
||||
import cls from 'classnames';
|
||||
import { I18n } from '@coze-arch/i18n';
|
||||
import {
|
||||
|
||||
Reference in New Issue
Block a user