Skip to content

Commit 82de3df

Browse files
committed
remove console log
1 parent 0e88a30 commit 82de3df

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/providers/prompt-page.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@ const _compilePrompt = (state: PromptPageState) => {
151151
};
152152

153153
const promptPageReducer = (state: PromptPageState, action: Action): PromptPageState => {
154-
console.log('reducing', action);
155154
switch (action.type) {
156155
case 'SET_INITIAL_DATA': {
157156
const { prompt, versions, mode, currentVersionUuid, globalContext } = action.payload;
@@ -656,10 +655,6 @@ export const PromptPageProvider = (props: PromptPageProviderProps) => {
656655
updateIncludes,
657656
};
658657

659-
if (typeof window !== 'undefined') {
660-
console.log('state', state);
661-
}
662-
663658
return <PromptPageContext.Provider value={value}>{children}</PromptPageContext.Provider>;
664659
};
665660

0 commit comments

Comments
 (0)