Skip to content

Commit

Permalink
Merge pull request #800 from bluehost/update/notifications
Browse files Browse the repository at this point in the history
update notifications module
  • Loading branch information
circlecube authored Nov 14, 2023
2 parents 7103bfe + 769f9ff commit 2adcaeb
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .wp-env.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"core": "WordPress/WordPress#tags/6.3.2",
"core": "WordPress/WordPress#tags/6.4.1",
"config": {
"WP_DEBUG": true,
"WP_DEBUG_LOG": true,
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"newfold-labs/wp-module-help-center": "1.0.21",
"newfold-labs/wp-module-loader": "^1.0.10",
"newfold-labs/wp-module-marketplace": "^2.1.0",
"newfold-labs/wp-module-notifications": "^1.1.6",
"newfold-labs/wp-module-notifications": "^1.2.1",
"newfold-labs/wp-module-onboarding": "^1.11.8",
"newfold-labs/wp-module-patterns": "^0.1.8",
"newfold-labs/wp-module-performance": "^1.2.2",
Expand Down
14 changes: 7 additions & 7 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion src/app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import { NotificationFeed } from './components/notifications/feed';
import { default as NewfoldNotifications } from '../../vendor/newfold-labs/wp-module-notifications/assets/js/components/notifications/';
// to pass to notifications module
import apiFetch from '@wordpress/api-fetch';
import { addQueryArgs } from '@wordpress/url';
import { useState } from '@wordpress/element';

const Notices = () => {
Expand Down Expand Up @@ -82,10 +83,10 @@ const AppBody = ( props ) => {
constants={{
context: 'bluehost-plugin',
page: hashedPath,
resturl: NewfoldRuntime.createApiUrl("")
}}
methods={{
apiFetch,
addQueryArgs,
classnames,
filter,
useState,
Expand Down

0 comments on commit 2adcaeb

Please sign in to comment.