Skip to content

Commit

Permalink
chore: tiny fix
Browse files Browse the repository at this point in the history
  • Loading branch information
KelvinOm committed Nov 7, 2024
1 parent c11a0bd commit 4ccd877
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import React from "react";

import { useLocation } from "react-router";
import { FlexLayout, type FlexLayoutProps } from "./FlexLayout";

export const MainCanvasWrapper = (props: FlexLayoutProps) => {
const { search } = useLocation();
const { search } = window.location;
const queryParams = new URLSearchParams(search);
const isEmbed = queryParams.get("embed") === "true";

Expand Down

0 comments on commit 4ccd877

Please sign in to comment.