Skip to content

Commit

Permalink
fix remove usage of site
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiankaegy committed Apr 26, 2023
1 parent 1231682 commit 44a491b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/widgets/ausfluege-stats.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const AusflugAnmeldeStatWidget = () => {
<span className="nr">{ `${ character }${ nr }` }</span>
</td>
<td>
<a href={ `${site && site.url}/wp-admin/post.php?post=${id}&action=edit` } target="_blank" dangerouslySetInnerHTML={ {
<span dangerouslySetInnerHTML={ {
__html: `${title}${ registrationClosed ? '<span class="ausgebucht">Ausgebucht!</span>' : '' }`,
} } />
</td>
Expand Down
2 changes: 1 addition & 1 deletion src/widgets/kinderprogram.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const KinderprogrammAnmeldungen = () => {
return (
<tr>
<td>
<a href={ `${site && site.url}/wp-admin/post.php?post=${id}&action=edit` } target="_blank" dangerouslySetInnerHTML={ {
<span dangerouslySetInnerHTML={ {
__html: title,
} } />
</td>
Expand Down

0 comments on commit 44a491b

Please sign in to comment.