From 45e9f84cbe82afa6e4f5423fa51715a801eb84d7 Mon Sep 17 00:00:00 2001 From: RoyceDa Date: Sat, 31 Jan 2026 03:01:02 +0200 Subject: [PATCH] system information provider remove unusual --- app/providers/DeviceProvider/useDeviceId.ts | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 app/providers/DeviceProvider/useDeviceId.ts diff --git a/app/providers/DeviceProvider/useDeviceId.ts b/app/providers/DeviceProvider/useDeviceId.ts deleted file mode 100644 index 309bdc8..0000000 --- a/app/providers/DeviceProvider/useDeviceId.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { useContext } from "react"; -import { DeviceProviderContext } from "./DeviceProvider"; - -export function useDeviceId(): string { - const context = useContext(DeviceProviderContext); - if(!context) { - throw new Error("useDeviceId must be used within a DeviceProvider"); - } - - return context.deviceId; -} \ No newline at end of file