Skip to content

Commit

Permalink
change persistent settings key to room name
Browse files Browse the repository at this point in the history
  • Loading branch information
davwas committed Nov 10, 2023
1 parent 264459f commit d9e098a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default function App() {
{token ? (
<div className="tldraw">
<Info />
<Editor id="home" roomId={roomID} />
<Editor id={roomID} roomId={roomID} />
</div>
) : null}
</div>
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"target": "es2017",
"target": "esnext",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
Expand All @@ -9,7 +9,7 @@
"strict": true,
"forceConsistentCasingInFileNames": true,
"noFallthroughCasesInSwitch": true,
"module": "es2022",
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
Expand Down

0 comments on commit d9e098a

Please sign in to comment.