An HTML-only Bluesky frontend

fix wbr issue

+5 -3
+5 -3
pages/actor/index.tsx
··· 38 38 <span 39 39 dangerouslySetInnerHTML={{ 40 40 __html: actor.displayName 41 - ? actor.displayName.replaceAll(" ", " <wbr>")!.match( 42 - /.{1,7}/g, 43 - )!.join("<wbr>") 41 + ? (actor.displayName.includes(" ") 42 + ? actor.displayName.replaceAll(" ", " <wbr>") 43 + : actor.displayName.match( 44 + /.{1,7}/g, 45 + )!.join("<wbr>")) 44 46 : actor.handle.replaceAll(".", ".<wbr>"), 45 47 }} 46 48 >