Skip to content

Commit

Permalink
preview: remove leading hash from package name
Browse files Browse the repository at this point in the history
  • Loading branch information
andypf committed Jun 25, 2024
1 parent de77d1c commit e0a49de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/assets-overview/src/components/details/TabPreview.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ const TabPreview = ({ asset }) => {

const config = useMemo(() => {
if (!asset || !appProps) return

return {
name: asset?.name,
name: asset?.name?.replace(/^#/, ""), // replace leading # from name
version: asset?.version,
appPreview: asset?.latestAppPreview,
props: appProps,
Expand Down

0 comments on commit e0a49de

Please sign in to comment.