We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 238c573 commit dd85b46Copy full SHA for dd85b46
packages/block-library/src/image/edit.js
@@ -99,7 +99,6 @@ export function ImageEdit( {
99
} ) {
100
const {
101
url = '',
102
- alt,
103
caption,
104
id,
105
width,
@@ -127,11 +126,6 @@ export function ImageEdit( {
127
126
128
const isSmallContainer = placeholderWidth && placeholderWidth < 160;
129
130
- const altRef = useRef();
131
- useEffect( () => {
132
- altRef.current = alt;
133
- }, [ alt ] );
134
-
135
const captionRef = useRef();
136
useEffect( () => {
137
captionRef.current = caption;
0 commit comments