Skip to content

Commit 58899ea

Browse files
committed
fix: remove unnecessary type cast in useExtensionState
1 parent a31eeea commit 58899ea

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
@@ -515,5 +515,5 @@ export const useExtensionState = () => {
515515
throw new Error("useExtensionState must be used within an ExtensionStateContextProvider")
516516
}
517517

518-
return context as ExtensionStateContextType
518+
return context
519519
}

0 commit comments

Comments
 (0)