Skip to content

Commit

Permalink
Remove hashbang when getting simple IDs (#445)
Browse files Browse the repository at this point in the history
  • Loading branch information
fsteeg committed Dec 15, 2021
1 parent 24136be commit 4d886b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gatsby/lobid/src/components/helpers.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from "react";

export function simpleId(url) {
return url.slice(url.lastIndexOf("/") + 1);
return url.slice(url.lastIndexOf("/") + 1).replace('#!', '');
}

export function stripLobidOrg(url) {
Expand Down

0 comments on commit 4d886b7

Please sign in to comment.