Refactored exports.

This commit is contained in:
Mike Cao 2023-04-21 08:00:42 -07:00
parent 1baf4d5571
commit 8bddc666b4
110 changed files with 317 additions and 124 deletions

View file

@ -3,7 +3,7 @@ import WebsiteDeleteForm from 'components/pages/settings/websites/WebsiteDeleteF
import WebsiteResetForm from 'components/pages/settings/websites/WebsiteResetForm';
import useMessages from 'hooks/useMessages';
export default function WebsiteData({ websiteId, onSave }) {
export function WebsiteData({ websiteId, onSave }) {
const { formatMessage, labels, messages } = useMessages();
const handleReset = async () => {
@ -45,3 +45,5 @@ export default function WebsiteData({ websiteId, onSave }) {
</>
);
}
export default WebsiteData;