Skip to content

Commit

Permalink
0.0.126
Browse files Browse the repository at this point in the history
  • Loading branch information
ivansglazunov committed Sep 25, 2024
1 parent b010549 commit 970f5d7
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
6 changes: 6 additions & 0 deletions imports/editor-async.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import React from 'react';
import dynamic from 'next/dynamic';

export const Editor = dynamic(() => import('./editor').then(m => m.Editor), {
loading: () => <></>,
})
3 changes: 2 additions & 1 deletion imports/go.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import isEqual from 'lodash/isEqual.js';
import React, { Context, createContext, memo, useCallback, useContext, useEffect, useMemo, useRef, useState } from 'react';
import { useHotkeys } from 'react-hotkeys-hook';
import { HandlerConfigContext, HandlersGoContext, useClientHandler, useHandlersGo } from './client-handler.js';
import { Editor } from './editor.js';
// import { Editor } from './editor.js';
import { ReactHandler } from './react-handler.js';
import { MdSaveAlt } from 'react-icons/md';

Expand All @@ -21,6 +21,7 @@ import { useQueryStore } from '@deep-foundation/store/query.js';
import { getChakraVar, loader, useChakraColor, useHandlersContext, useLoader, usePreload } from './hooks.js';
import { useDebounceCallback } from '@react-hook/debounce';
import { useAsyncMemo } from "use-async-memo";
import { Editor } from './editor-async.js';

const dpl = '@deep-foundation/perception-links';
const dc = '@deep-foundation/core';
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@deep-foundation/perception-imports",
"version": "0.0.125",
"version": "0.0.126",
"license": "Unlicense",
"type": "module",
"main": "import.js",
Expand All @@ -17,6 +17,7 @@
},
"peerDependencies": {
"@deep-foundation/deeplinks": "^0.0.579",
"next": "^14.2.13",
"react": "^18.3.1"
},
"engines": {
Expand Down

0 comments on commit 970f5d7

Please sign in to comment.