Skip to content

Commit 84ec231

Browse files
committed
Fixed className and improved readability.
1 parent 330324f commit 84ec231

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/wp-chess/save.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@ import { __ } from '@wordpress/i18n';
1919
*/
2020
export default function save( { attributes } ) {
2121
return (
22-
<p class="wp-chess-board fen-position-board" data-fen={ attributes.startFenPosition } { ...useBlockProps.save() }>
22+
<p
23+
className="wp-chess-board fen-position-board"
24+
data-fen={ attributes.startFenPosition }
25+
{ ...useBlockProps.save() }
26+
>
2327
{ __( 'Loading', 'wp-chess' ) }
2428
</p>
2529
);

0 commit comments

Comments
 (0)