Оптимизация читаемости кода, лучшая организация архитектуры

This commit is contained in:
RoyceDa
2026-02-19 21:50:53 +02:00
parent 53535d68e0
commit 95a1f57381
14 changed files with 13 additions and 13 deletions

View File

@@ -1,6 +1,6 @@
import { useContext } from "react";
import { useDatabase } from "../DatabaseProvider/useDatabase";
import { chacha20Encrypt, encodeWithPassword, encrypt, generateMd5} from "../../crypto/crypto";
import { chacha20Encrypt, encodeWithPassword, encrypt, generateMd5} from "../../workers/crypto/crypto";
import { AttachmentMeta, DeliveredMessageState, DialogContext, Message } from "./DialogProvider";
import { Attachment, AttachmentType, PacketMessage } from "@/app/providers/ProtocolProvider/protocol/packets/packet.message";
import { usePublicKey } from "../AccountProvider/usePublicKey";