Export preference components. Updates for cloud.

This commit is contained in:
Mike Cao 2025-09-17 22:03:58 -07:00
parent 23838c57fb
commit 0ae5c28da7
7 changed files with 14 additions and 9 deletions

View file

@ -25,7 +25,7 @@ export function WebsiteMenu({ websiteId }: { websiteId: string }) {
if (id === 'compare') {
router.push(updateParams({ compare: 'prev' }));
} else if (id === 'edit') {
router.push(renderUrl(`/settings/websites/${websiteId}`));
router.push(renderUrl(`/websites/${websiteId}`));
}
};

View file

@ -39,7 +39,7 @@ export function WebsiteData({ websiteId, onSave }: { websiteId: string; onSave?:
const handleSave = () => {
touch('websites');
onSave?.();
router.push(renderUrl(`/settings/websites`));
router.push(renderUrl(`/websites`));
};
const handleReset = async () => {