Skip to content

Commit 2fb65c3

Browse files
committed
fix import issue
1 parent 32d9837 commit 2fb65c3

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

includes/rest-routes.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@ function add_endpoints() {
2424
MAPS_BLOCK_APPLE_VERSION_REST_NAMESPACE,
2525
'/GetJWT',
2626
[
27-
'methods' => 'GET',
28-
'callback' => __NAMESPACE__ . '\get_jwt',
27+
'methods' => 'GET',
28+
'callback' => __NAMESPACE__ . '\get_jwt',
29+
'permission_callback' => '__return_true',
2930
]
3031
);
3132
}

src/components/ResizableMap.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
import {
2-
ResizableBox,
3-
} from '@wordpress/components';
1+
import { ResizableBox } from '@wordpress/components';
2+
import { useState } from '@wordpress/element';
43

54
const RESIZABLE_BOX_ENABLE_OPTION = {
65
top: false,

0 commit comments

Comments
 (0)