Skip to content

Commit

Permalink
add logs to 3d viewer
Browse files Browse the repository at this point in the history
  • Loading branch information
Irene Alvarado committed Nov 29, 2021
1 parent 2af4868 commit bd8aefb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/blocks/file-blocks/3d-files.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,13 @@ function Model({ url }: { url: string }) {
export default function (props: FileBlockProps) {
const { context } = props;

console.log("in 3d viewer");
console.log(context);

const url = `https://raw.githubusercontent.com/${context.owner}/${context.repo}/${context.sha}/${context.path}`;

console.log(url);

return (
<Canvas style={{ height: "100vh" }}>
{/*
Expand Down

0 comments on commit bd8aefb

Please sign in to comment.