Skip to content

Commit 16141a0

Browse files
committed
fix: resolve linting error with const declaration
1 parent a373d6c commit 16141a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webview-ui/src/context/ExtensionStateContext.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ export const ExtensionStateContextProvider: React.FC<{ children: React.ReactNode
315315
case "incrementalStateUpdate": {
316316
const update = message.incrementalUpdate!
317317
setState((prevState) => {
318-
let newClineMessages = [...prevState.clineMessages]
318+
const newClineMessages = [...prevState.clineMessages]
319319

320320
// Add new messages
321321
if (update.newMessages) {

0 commit comments

Comments
 (0)