chore: format all common files (#431)
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
|
||||
import { RouterProvider } from 'react-router-dom';
|
||||
|
||||
import { createRoot } from 'react-dom/client';
|
||||
@@ -27,7 +27,7 @@ browserClient('init', {
|
||||
bid: '',
|
||||
});
|
||||
browserClient('start');
|
||||
reporter.init(browserClient)
|
||||
reporter.init(browserClient);
|
||||
|
||||
const root = createRoot(document.getElementById('root'));
|
||||
root.render(<RouterProvider router={router} />);
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
|
||||
import React from 'react';
|
||||
import './index.less';
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
|
||||
import React from 'react';
|
||||
|
||||
import { Button } from '@douyinfe/semi-ui';
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
|
||||
import { immer } from 'zustand/middleware/immer';
|
||||
import { devtools } from 'zustand/middleware';
|
||||
import { create } from 'zustand';
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
|
||||
import { createBrowserRouter } from 'react-router-dom';
|
||||
|
||||
import { Page2 } from '@/pages/page2';
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
|
||||
import { devtools } from 'zustand/middleware';
|
||||
import { create } from 'zustand';
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
|
||||
import { type StateCreator } from 'zustand';
|
||||
|
||||
export interface UserInfoSlice {
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
|
||||
// Automatically generated based on env/index.ts, do not modify manually
|
||||
declare const IS_CI: boolean;
|
||||
declare const IS_DEV_MODE: boolean;
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
|
||||
declare module '*.svg';
|
||||
declare module '*.png';
|
||||
declare module '*.less';
|
||||
|
||||
Reference in New Issue
Block a user