Skip to content

Commit

Permalink
update: plugin settings context filename and relevant imports
Browse files Browse the repository at this point in the history
  • Loading branch information
nirbhayel committed Nov 11, 2024
1 parent d0f8126 commit 4b56535
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion modules/settings/assets/js/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { ThemeProvider } from '@elementor/ui/styles';
import { StrictMode, Fragment, createRoot } from '@wordpress/element';
import App from './app';
import AdminTopBar from './components/admin-top-bar';
import { PluginSettingsProvider } from './contexts/plugin-settings-context';
import { PluginSettingsProvider } from './contexts/plugin-settings';
import { SettingsProvider, NotificationsProvider } from './hooks';

const rootNode = document.getElementById( 'ea11y-app' );
Expand Down
2 changes: 1 addition & 1 deletion modules/settings/assets/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import '../css/style.css';
import DirectionProvider from '@elementor/ui/DirectionProvider';
import { ThemeProvider } from '@elementor/ui/styles';
import { ConnectModal, Notifications } from './components';
import { usePluginSettingsContext } from './contexts/plugin-settings-context';
import { usePluginSettingsContext } from './contexts/plugin-settings';
import { useNotificationSettings } from './hooks';

const App = () => {
Expand Down
2 changes: 1 addition & 1 deletion modules/settings/assets/js/hooks/use-auth.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import API from '../api';
import { UPGRADE_LINK } from '../constants';
import { usePluginSettingsContext } from '../contexts/plugin-settings-context';
import { usePluginSettingsContext } from '../contexts/plugin-settings';

export const useAuth = () => {
const { subscriptionId } = 123;
Expand Down

0 comments on commit 4b56535

Please sign in to comment.