WIP updates

This commit is contained in:
Sacha Weatherstone
2022-11-27 22:50:46 +10:00
parent a9561fe622
commit e457cef3da
79 changed files with 2100 additions and 1284 deletions
+3 -3
View File
@@ -3,15 +3,15 @@ import type React from "react";
import { DeviceContext } from "@core/providers/useDevice.js";
import type { Device } from "@core/stores/deviceStore.js";
export interface DeviceProps {
export interface DeviceWrapperProps {
children: React.ReactNode;
device: Device;
}
export const DeviceWrapper = ({
children,
device,
}: DeviceProps): JSX.Element => {
device
}: DeviceWrapperProps): JSX.Element => {
return (
<DeviceContext.Provider value={device}>{children}</DeviceContext.Provider>
);