Skip to content

Commit 762f953

Browse files
fix: Replace axios with lib/AJAX
1 parent cd002a1 commit 762f953

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dashboard/Data/Browser/Browser.react.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* the root directory of this source tree.
77
*/
88
import { ActionTypes } from 'lib/stores/SchemaStore';
9-
import axios from 'axios';
9+
import { post } from 'lib/AJAX';
1010
import AccountManager from 'lib/AccountManager';
1111
import AddColumnDialog from 'dashboard/Data/Browser/AddColumnDialog.react';
1212
import CategoryList from 'components/CategoryList/CategoryList.react';
@@ -947,7 +947,7 @@ export default class Browser extends DashboardView {
947947
const user = AccountManager.currentUser();
948948
let playVideoTutorial = user && user.playDatabaseBrowserTutorial;
949949
if (playVideoTutorial) {
950-
axios.post(`${b4aSettings.BACK4APP_API_PATH}/tutorial`, { databaseBrowser: true });
950+
post(`${b4aSettings.BACK4APP_API_PATH}/tutorial`, { databaseBrowser: true });
951951
}
952952
browser = (
953953
<DataBrowser

0 commit comments

Comments
 (0)