diff --git a/src/features/quote/options/QuoteOptions.jsx b/src/features/quote/options/QuoteOptions.jsx index 275a2c5b..155f1d3d 100644 --- a/src/features/quote/options/QuoteOptions.jsx +++ b/src/features/quote/options/QuoteOptions.jsx @@ -31,6 +31,14 @@ const QuoteOptions = ({ currentSubSection, onSubSectionChange, sectionName }) => } return type; }); + + // Migration: Force authorDetails on for users upgrading from older versions + useState(() => { + if (localStorage.getItem('authorDetails') === null) { + localStorage.setItem('authorDetails', 'true'); + } + }); + const [customQuote, setCustomQuote] = useState(getCustom()); const handleCustomQuote = (e, text, index, type) => { @@ -167,18 +175,14 @@ const QuoteOptions = ({ currentSubSection, onSubSectionChange, sectionName }) =>