Auto-publish on AI finish and add custom save button
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -106,12 +106,6 @@ export const ShopifyProvider: React.FC<{
|
||||
token: string;
|
||||
children: React.ReactNode;
|
||||
}> = ({ domain, token, children }) => {
|
||||
console.log('[ShopifyProvider] creds', {
|
||||
domain,
|
||||
hasToken: !!token,
|
||||
tokenPreview: token ? `${token.slice(0, 4)}…${token.slice(-4)}` : null,
|
||||
});
|
||||
|
||||
// Sync creds into the module-level store synchronously so any render-time
|
||||
// call (incl. SSR) reads the right domain/token.
|
||||
setShopifyCredentials({ domain, token });
|
||||
|
||||
Reference in New Issue
Block a user