Skip to content

Commit a773521

Browse files
committed
remove publish to share button
1 parent efc1986 commit a773521

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

platforms/web/src/Teach.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -373,15 +373,13 @@ function Teach() {
373373
>
374374
Edit
375375
</button>
376-
{map.jsonId ? (
376+
{map.jsonId && (
377377
<button
378378
onClick={() => handleCopyShareLink(map)}
379379
className="action-button primary-button"
380380
>
381381
{copiedId === map.id ? '✓ Copied!' : 'Copy Share Link'}
382382
</button>
383-
) : (
384-
<span className="unpublished-hint">Publish to share</span>
385383
)}
386384
</div>
387385
</div>

0 commit comments

Comments
 (0)