You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The deprecation warning is due to data. The data returned from ButterCMS contains the fields attribute and it causes this deprecation warning because for the page data, the fields are part of the page data and not some specific data for the addNode function.
There are 3 ways to remove the deprecation notification:
Put the page data into another attribute or rename the fields attribute from ButterCMS, e.g. buttercmsFields. It will be necessary to write additional custom code in the starter to pick the right attributes from data.
see video: link
Note: I think we can ignore the first error - it seems to only show up when API token is not set correctly. :) so just the deprecation warning.
The text was updated successfully, but these errors were encountered: