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:
Rami Bitar
2026-05-05 10:59:16 -04:00
parent 2a397da576
commit 4cada5b2b5
2 changed files with 49 additions and 25 deletions

View File

@@ -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 });