Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Pranshu1902 committed Dec 27, 2023
1 parent 3ebcea8 commit 8b646d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Components/Facility/Consultations/LiveFeed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -302,13 +302,13 @@ const LiveFeed = (props: any) => {
setLoading("Previewing Boundary");
const { max_x, max_y, min_x, min_y }: BoundaryRange =
boundaryPreset.meta.range;
const edegs: any[] = [
const edges: any[] = [
{ x: max_x, y: (max_y + min_y) / 2, zoom: 0.2 },
{ x: (max_x + min_x) / 2, y: max_y, zoom: 0.2 },
{ x: min_x, y: (max_y + min_y) / 2, zoom: 0.2 },
{ x: (max_x + min_x) / 2, y: min_y, zoom: 0.2 },
];
for (const edge of edegs) {
for (const edge of edges) {
await runFunctionWithDelay(() => absoluteMove(edge, {}), 3000);
}
setIsPreview(false);
Expand Down
2 changes: 1 addition & 1 deletion src/Components/Patient/PatientPrivacyToggle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export default function PatientPrivacyToggle(props: PatientPrivacyToggleProps) {
<div className="tooltip rounded-md bg-gray-300 px-3 py-2 text-sm font-semibold">
Privacy Mode: {privacy ? "ON" : "OFF"}
<span className="tooltip-text tooltip-bottom -translate-x-1/2 text-sm">
privacy setting for camera feed visual
Privacy setting for camera feed visual
</span>
</div>
{!privacy ? (
Expand Down

0 comments on commit 8b646d3

Please sign in to comment.