Move up from shared
This commit is contained in:
parent
0b39759ad9
commit
461430a972
4 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,5 @@
|
|||
import EnteSpinner from "@ente/shared/components/EnteSpinner";
|
||||
import { boxSealOpen, toB64 } from "@ente/shared/crypto/internal/libsodium";
|
||||
import { useCastReceiver } from "@ente/shared/hooks/useCastReceiver";
|
||||
import { addLogLine } from "@ente/shared/logging";
|
||||
import castGateway from "@ente/shared/network/cast";
|
||||
import LargeType from "components/LargeType";
|
||||
|
@ -8,6 +7,7 @@ import _sodium from "libsodium-wrappers";
|
|||
import { useRouter } from "next/router";
|
||||
import { useEffect, useState } from "react";
|
||||
import { storeCastData } from "services/cast/castService";
|
||||
import { useCastReceiver } from "../utils/useCastReceiver";
|
||||
|
||||
// Function to generate cryptographically secure digits
|
||||
const generateSecureData = (length: number): Uint8Array => {
|
||||
|
|
|
@ -6,7 +6,6 @@ import SingleInputForm, {
|
|||
SingleInputFormProps,
|
||||
} from "@ente/shared/components/SingleInputForm";
|
||||
import { boxSeal } from "@ente/shared/crypto/internal/libsodium";
|
||||
import { loadSender } from "@ente/shared/hooks/useCastSender";
|
||||
import { addLogLine } from "@ente/shared/logging";
|
||||
import castGateway from "@ente/shared/network/cast";
|
||||
import { logError } from "@ente/shared/sentry";
|
||||
|
@ -16,6 +15,7 @@ import { useEffect, useState } from "react";
|
|||
import { Trans } from "react-i18next";
|
||||
import { Collection } from "types/collection";
|
||||
import { v4 as uuidv4 } from "uuid";
|
||||
import { loadSender } from "../../../utils/useCastSender";
|
||||
|
||||
interface Props {
|
||||
show: boolean;
|
||||
|
|
Loading…
Reference in a new issue