Fix item deletion on 'Edit profile' and 'Soapbox config' pages
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
a9346a6db6
commit
66ab33a550
3 changed files with 11 additions and 2 deletions
|
@ -17,10 +17,13 @@ export default class SvgIcon extends React.PureComponent {
|
|||
};
|
||||
|
||||
render() {
|
||||
const { src, className } = this.props;
|
||||
const { src, className, ...other } = this.props;
|
||||
|
||||
return (
|
||||
<div className={classNames('svg-icon', className)}>
|
||||
<div
|
||||
className={classNames('svg-icon', className)}
|
||||
{...other}
|
||||
>
|
||||
<InlineSVG src={src} />
|
||||
</div>
|
||||
);
|
||||
|
|
|
@ -56,7 +56,9 @@ exports[`<LoginForm /> renders for Mastodon 1`] = `
|
|||
style={Object {}}
|
||||
>
|
||||
<div
|
||||
aria-hidden="true"
|
||||
className="svg-icon"
|
||||
fixedWidth={true}
|
||||
>
|
||||
<svg
|
||||
id={
|
||||
|
@ -150,7 +152,9 @@ exports[`<LoginForm /> renders for Pleroma 1`] = `
|
|||
style={Object {}}
|
||||
>
|
||||
<div
|
||||
aria-hidden="true"
|
||||
className="svg-icon"
|
||||
fixedWidth={true}
|
||||
>
|
||||
<svg
|
||||
id={
|
||||
|
|
|
@ -59,7 +59,9 @@ exports[`<LoginPage /> renders correctly on load 1`] = `
|
|||
style={Object {}}
|
||||
>
|
||||
<div
|
||||
aria-hidden="true"
|
||||
className="svg-icon"
|
||||
fixedWidth={true}
|
||||
>
|
||||
<svg
|
||||
id={
|
||||
|
|
Loading…
Reference in a new issue