system information provider remove unusual

This commit is contained in:
RoyceDa
2026-01-31 03:01:02 +02:00
parent 26b05ce590
commit 45e9f84cbe

View File

@@ -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;
}