From ae07d2d3d9fa3ad70dceca505b56ab29f8e1e1f4 Mon Sep 17 00:00:00 2001 From: LandaMm Date: Sat, 24 May 2025 20:58:36 +0200 Subject: [PATCH] feat: refactor db context --- web/src/context/db/{db.ts => index.ts} | 0 web/src/context/db/provider.tsx | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename web/src/context/db/{db.ts => index.ts} (100%) diff --git a/web/src/context/db/db.ts b/web/src/context/db/index.ts similarity index 100% rename from web/src/context/db/db.ts rename to web/src/context/db/index.ts diff --git a/web/src/context/db/provider.tsx b/web/src/context/db/provider.tsx index a0d9aa4..ff6ee26 100644 --- a/web/src/context/db/provider.tsx +++ b/web/src/context/db/provider.tsx @@ -1,5 +1,5 @@ import { useCallback, useState, type FC, type ReactNode } from "react"; -import { DbContext } from "./db"; +import { DbContext } from "."; import type { IDBPDatabase } from "idb"; interface IDBProvider {