Skip to content

Commit

Permalink
chore: cleanup lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
micahg committed Jul 24, 2024
1 parent e7d69b4 commit 8d51d8f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,16 +135,13 @@ const RemoteDisplayComponent = () => {

const angle = js.state.angle || 0;

const ts: number = new Date().getTime();
let overlay: string | undefined;
if ("overlay" in js.state && js.state.overlay) {
// overlay = `${apiUrl}/${js.state.overlay}?${ts}`;
overlay = `${apiUrl}/${js.state.overlay}`;
}

let background: string | null = null;
if ("background" in js.state && js.state.background) {
// background = `${apiUrl}/${js.state.background}?${ts}`;
background = `${apiUrl}/${js.state.background}`;
}

Expand Down
2 changes: 1 addition & 1 deletion packages/mui/src/utils/contentworker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ function updateThings(things?: Thing[], render = false) {
}

async function update(values: TableUpdate) {
const { angle, bearer, background, overlay, viewport, things } = values;
const { angle, background, viewport, things } = values;
if (!background) {
if (things) return updateThings(things, true);
console.error(`Ignoring update without background`);
Expand Down

0 comments on commit 8d51d8f

Please sign in to comment.