update full logo

This commit is contained in:
SrGooglo 2023-03-02 23:55:57 +00:00
parent 30c12a9c40
commit 714a9fc68e
2 changed files with 4 additions and 4 deletions

View File

@ -51,7 +51,7 @@ export default {
], ],
logo: { logo: {
alt: "/logo_alt.svg", alt: "/logo_alt.svg",
full: "/logo_full.svg", full: "/comty_logo_full.svg",
ragestudio_alt: "https://storage.ragestudio.net/rstudio/branding/ragestudio/iso/ragestudio.svg", ragestudio_alt: "https://storage.ragestudio.net/rstudio/branding/ragestudio/iso/ragestudio.svg",
ragestudio_full: "https://storage.ragestudio.net/rstudio/branding/ragestudio/labeled/ragestudio-labeled_white.svg", ragestudio_full: "https://storage.ragestudio.net/rstudio/branding/ragestudio/labeled/ragestudio-labeled_white.svg",
}, },

View File

@ -12,7 +12,7 @@ import PostAttachments from "./components/attachments"
import "./index.less" import "./index.less"
export default class PostCard extends React.Component { export default class PostCard extends React.PureComponent {
state = { state = {
loading: true, loading: true,
data: this.props.data ?? {}, data: this.props.data ?? {},
@ -116,7 +116,7 @@ export default class PostCard extends React.Component {
app.eventBus.off(`post.${this.state.data._id}.update`, this.onClickEdit) app.eventBus.off(`post.${this.state.data._id}.update`, this.onClickEdit)
// remove the listener // remove the listener
app.cores.api.listenEvent(`post.${this.state.data._id}.likes.update`, this.onLikesUpdate) app.cores.api.unlistenEvent(`post.${this.state.data._id}.likes.update`, this.onLikesUpdate)
} }
componentDidCatch = (error, info) => { componentDidCatch = (error, info) => {
@ -145,7 +145,7 @@ export default class PostCard extends React.Component {
} }
return <div return <div
key={this.state.data.key ?? this.state.data._id} key={this.props.index ?? this.state.data._id}
id={this.state.data._id} id={this.state.data._id}
className={classnames( className={classnames(
"postCard", "postCard",