Export preference components. Updates for cloud.
This commit is contained in:
@@ -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}`));
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user