mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-24 23:34:50 +00:00
Ran npx prettier --write "**/*.js" "*.js"
This commit is contained in:
@@ -2,11 +2,11 @@ import React, { Component } from "react";
|
||||
import styles from "./avatar.less";
|
||||
|
||||
export default class Avatar extends Component {
|
||||
render() {
|
||||
const image = this.props.image;
|
||||
const style = {
|
||||
backgroundImage: `url(${image})`,
|
||||
};
|
||||
return <div className={styles.avatar} style={style} />;
|
||||
}
|
||||
render() {
|
||||
const image = this.props.image;
|
||||
const style = {
|
||||
backgroundImage: `url(${image})`
|
||||
};
|
||||
return <div className={styles.avatar} style={style} />;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user