We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b3a518 commit 1867b77Copy full SHA for 1867b77
packages/playground/src/App.tsx
@@ -119,7 +119,7 @@ export const App: React.FC = (props: { examples: any }) => {
119
let initExample = [0, 'Display'];
120
const hash = window.location.hash.substr(1);
121
if (hash) {
122
- let [c, title] = hash.split('-');
+ let [c, title] = hash.split(/-(.*)/s);
123
if (title) {
124
// capitalize
125
c = decodeURI(c).split(' ').map((w) => w[0].toUpperCase() + w.slice(1)).join(' ');
0 commit comments