remove "class" prop in favor of "className" (#167)
This commit is contained in:
parent
82438a62e0
commit
a24177b62a
|
@ -23,10 +23,3 @@
|
||||||
fill: var(--body-text-color);
|
fill: var(--body-text-color);
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<script>
|
|
||||||
export default {
|
|
||||||
oncreate() {
|
|
||||||
this.set({className: this.get('class')}) // workaround for "class" property name bug in svelte
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
|
@ -1,5 +1,5 @@
|
||||||
<div class="status-details">
|
<div class="status-details">
|
||||||
<ExternalLink class="status-absolute-date"
|
<ExternalLink className="status-absolute-date"
|
||||||
href="{{originalStatus.url}}"
|
href="{{originalStatus.url}}"
|
||||||
showIcon="true"
|
showIcon="true"
|
||||||
ariaLabel="{{formattedDate}} (opens in new window)"
|
ariaLabel="{{formattedDate}} (opens in new window)"
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<h2>Logged in as:</h2>
|
<h2>Logged in as:</h2>
|
||||||
<div class="acct-current-user">
|
<div class="acct-current-user">
|
||||||
<Avatar account="{{verifyCredentials}}" className="acct-avatar" size="big"/>
|
<Avatar account="{{verifyCredentials}}" className="acct-avatar" size="big"/>
|
||||||
<ExternalLink class="acct-handle"
|
<ExternalLink className="acct-handle"
|
||||||
href="{{verifyCredentials.url}}">
|
href="{{verifyCredentials.url}}">
|
||||||
{{'@' + verifyCredentials.acct}}
|
{{'@' + verifyCredentials.acct}}
|
||||||
</ExternalLink>
|
</ExternalLink>
|
||||||
|
|
Loading…
Reference in a new issue