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