chore: import type
This commit is contained in:
@@ -16,9 +16,9 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import React, { useRef } from 'react';
|
||||
import React from 'react';
|
||||
|
||||
import { MComponent } from '@tmagic/schema';
|
||||
import type { MComponent } from '@tmagic/schema';
|
||||
|
||||
import useApp from '../useApp';
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
import React from 'react';
|
||||
|
||||
import { MComponent, MContainer } from '@tmagic/schema';
|
||||
import type { MComponent, MContainer } from '@tmagic/schema';
|
||||
|
||||
import useApp from '../useApp';
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
import React from 'react';
|
||||
|
||||
import { MComponent } from '@tmagic/schema';
|
||||
import type { MComponent } from '@tmagic/schema';
|
||||
|
||||
import useApp from '../useApp';
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
import React, { useContext, useEffect, useState } from 'react';
|
||||
|
||||
import Core from '@tmagic/core';
|
||||
import { MComponent, MNode } from '@tmagic/schema';
|
||||
import type { MComponent, MNode } from '@tmagic/schema';
|
||||
|
||||
import AppContent from '../AppContent';
|
||||
import useApp from '../useApp';
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
import React from 'react';
|
||||
|
||||
import { MComponent, MContainer, MPage } from '@tmagic/schema';
|
||||
import type { MComponent, MContainer, MPage } from '@tmagic/schema';
|
||||
|
||||
import useApp from '../useApp';
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
import React, { useEffect, useState } from 'react';
|
||||
import QRCode from 'qrcode';
|
||||
|
||||
import { MComponent } from '@tmagic/schema';
|
||||
import type { MComponent } from '@tmagic/schema';
|
||||
|
||||
import useApp from '../useApp';
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
import React, { useState } from 'react';
|
||||
|
||||
import { MComponent } from '@tmagic/schema';
|
||||
import type { MComponent } from '@tmagic/schema';
|
||||
|
||||
import useApp from '../useApp';
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
import { useContext, useEffect, useState } from 'react';
|
||||
|
||||
import Core from '@tmagic/core';
|
||||
import { MComponent } from '@tmagic/schema';
|
||||
import type { MComponent } from '@tmagic/schema';
|
||||
|
||||
import AppContent from './AppContent';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user