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 { ErrorBoundary, type FallbackProps } from 'react-error-boundary';
|
||||
import ReactDOM from 'react-dom';
|
||||
import React, { useEffect } from 'react';
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
|
||||
const ACTION_ITEM = 'action-label';
|
||||
|
||||
export function codicon(name: string, actionItem = false): string {
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
|
||||
export * from './tools';
|
||||
export { codicon, codiconArray } from './icon';
|
||||
export { createPortal } from './create-portal';
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
|
||||
import {
|
||||
type Widget,
|
||||
BoxPanel,
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
|
||||
export function isFunction<T extends (...args: unknown[]) => unknown>(
|
||||
value: unknown,
|
||||
): value is T {
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
|
||||
import { type URI } from '@coze-project-ide/core';
|
||||
|
||||
export const isURIMatch = (uriA: URI, uriB: URI) =>
|
||||
|
||||
Reference in New Issue
Block a user