Skip to content

Commit

Permalink
Use v1 defaultColumnsNumber in native v1 gallery
Browse files Browse the repository at this point in the history
  • Loading branch information
mkevins committed Apr 29, 2021
1 parent 1521f52 commit 8639891
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/block-library/src/gallery/v1/gallery.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { isEmpty } from 'lodash';
* Internal dependencies
*/
import GalleryImage from './gallery-image';
import { defaultColumnsNumber } from '../shared';
import { defaultColumnsNumberV1 } from '../deprecated';
import styles from './gallery-styles.scss';
import Tiles from './tiles';

Expand Down Expand Up @@ -61,7 +61,7 @@ export const Gallery = ( props ) => {

const {
align,
columns = defaultColumnsNumber( attributes ),
columns = defaultColumnsNumberV1( attributes ),
imageCrop,
images,
} = attributes;
Expand Down

0 comments on commit 8639891

Please sign in to comment.