mirror of
https://github.com/selfxyz/self.git
synced 2026-04-05 03:00:53 -04:00
removed next dependency on sdk (#447)
This commit is contained in:
@@ -8,14 +8,10 @@ import { REDIRECT_URL, WS_DB_RELAYER } from '../../common/src/constants/constant
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
import { QRcodeSteps } from './utils/utils';
|
||||
import { containerStyle, ledContainerStyle, qrContainerStyle } from './utils/styles';
|
||||
import dynamic from 'next/dynamic';
|
||||
import { QRCodeSVG } from 'qrcode.react';
|
||||
import { initWebSocket } from './utils/websocket';
|
||||
import { SelfApp, SelfAppBuilder } from '../../common/src/utils/appType';
|
||||
|
||||
const QRCodeSVG = dynamic(() => import('qrcode.react').then((mod) => mod.QRCodeSVG), {
|
||||
ssr: false,
|
||||
});
|
||||
|
||||
interface SelfQRcodeProps {
|
||||
selfApp: SelfApp;
|
||||
onSuccess: () => void;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@selfxyz/qrcode",
|
||||
"version": "0.0.11",
|
||||
"version": "0.0.12",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/selfxyz/self"
|
||||
@@ -54,4 +54,4 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user