diff --git a/services/web/frontend/js/shared/context/editor-context.tsx b/services/web/frontend/js/shared/context/editor-context.tsx index a3c01d57dd..7d751ac6ab 100644 --- a/services/web/frontend/js/shared/context/editor-context.tsx +++ b/services/web/frontend/js/shared/context/editor-context.tsx @@ -40,8 +40,6 @@ export const EditorContext = createContext< currentPopup: string | null setCurrentPopup: Dispatch> setOutOfSync: (value: boolean) => void - assistantUpgraded: boolean - setAssistantUpgraded: (value: boolean) => void hasPremiumSuggestion: boolean setHasPremiumSuggestion: (value: boolean) => void setPremiumSuggestionResetDate: (date: Date) => void @@ -89,7 +87,6 @@ export const EditorProvider: FC = ({ children }) => { ) const [currentPopup, setCurrentPopup] = useState(null) - const [assistantUpgraded, setAssistantUpgraded] = useState(false) const [hasPremiumSuggestion, setHasPremiumSuggestion] = useState( () => { return Boolean( @@ -205,8 +202,6 @@ export const EditorProvider: FC = ({ children }) => { setHasPremiumSuggestion, premiumSuggestionResetDate, setPremiumSuggestionResetDate, - assistantUpgraded, - setAssistantUpgraded, writefullInstance, setWritefullInstance, }), @@ -232,8 +227,6 @@ export const EditorProvider: FC = ({ children }) => { setHasPremiumSuggestion, premiumSuggestionResetDate, setPremiumSuggestionResetDate, - assistantUpgraded, - setAssistantUpgraded, writefullInstance, setWritefullInstance, ]