Skip to content

Commit

Permalink
Fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
Twixes committed Nov 18, 2024
1 parent 5b0534a commit 941e731
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/scenes/max/Intro.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export function Intro(): JSX.Element {
<br />
<em>Your data won't be used for training models.</em>
</p>
<LemonButton type="secondary" size="small" onClick={acceptDataProcessing}>
<LemonButton type="secondary" size="small" onClick={() => acceptDataProcessing()}>
Got it, I accept OpenAI processing data
</LemonButton>
</div>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/scenes/max/maxGlobalLogic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import type { maxGlobalLogicType } from './maxGlobalLogicType'
export const maxGlobalLogic = kea<maxGlobalLogicType>([
path(['scenes', 'max', 'maxGlobalLogic']),
actions({
acceptDataProcessing: (testOnlyOverride) => ({ testOnlyOverride }),
acceptDataProcessing: (testOnlyOverride?: boolean) => ({ testOnlyOverride }),
}),
reducers({
dataProcessingAccepted: [
Expand Down

0 comments on commit 941e731

Please sign in to comment.