Skip to content

Commit

Permalink
fix: desktop version works
Browse files Browse the repository at this point in the history
  • Loading branch information
huhuanming committed Oct 22, 2023
1 parent 412a50b commit 8d93a42
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 22 deletions.
20 changes: 0 additions & 20 deletions apps/desktop/App.js

This file was deleted.

9 changes: 9 additions & 0 deletions apps/desktop/App.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/* eslint-disable @typescript-eslint/no-unused-vars, import/first, import/order */
import '@onekeyhq/shared/src/polyfills';
import '@onekeyhq/shared/src/web/index.css';

import { KitProvider } from '@onekeyhq/kit';

console.log('KitProvider', KitProvider);

export default KitProvider;
2 changes: 1 addition & 1 deletion apps/desktop/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ import App from './App';
// registerRootComponent calls AppRegistry.registerComponent('main', () => App);
// It also ensures that whether you load the app in Expo Go or in a native build,
// the environment is set up appropriately
registerRootComponent(App);
registerRootComponent(App);
1 change: 0 additions & 1 deletion apps/mobile/App.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* eslint-disable @typescript-eslint/no-unused-vars, import/first, import/order */
import '@onekeyhq/shared/src/polyfills';

console.log('polyfills----');
import { KitProvider } from '@onekeyhq/kit';

console.log('KitProvider', KitProvider);
Expand Down

0 comments on commit 8d93a42

Please sign in to comment.