Skip to content

Commit

Permalink
add getAssetUrls
Browse files Browse the repository at this point in the history
  • Loading branch information
kolibril13 committed Jan 22, 2024
1 parent d0349a2 commit f81d86c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/App.jsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import { Tldraw } from "@tldraw/tldraw";
import "@tldraw/tldraw/tldraw.css";
import { useState } from "react";
// import { getAssetUrls } from "@tldraw/assets/selfHosted";

export default function App() {
// const assetUrls = getAssetUrls();

return (
<div
style={{
Expand All @@ -14,7 +16,8 @@ export default function App() {
>
<div style={{ width: 500, height: 500 }}>
<Tldraw></Tldraw>
{/* <Tldraw assetUrls={assetUrls}></Tldraw> */}
</div>
</div>
);
}
}

0 comments on commit f81d86c

Please sign in to comment.