Skip to content

Commit 2adcd63

Browse files
committed
fmt
1 parent 885bac1 commit 2adcd63

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: hooks/useDevice.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { useContext } from "preact/hooks";
22
import { SectionContext } from "deco/components/section.tsx";
33

44
export const useDevice = () => {
5-
const ctx = useContext(SectionContext);
5+
const ctx = useContext(SectionContext);
66

7-
return ctx?.device;
8-
}
7+
return ctx?.device;
8+
};

0 commit comments

Comments
 (0)