Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EyuCoder/chatgpt-pro
/ removeApiKey
Function
removeApiKey
src/components/Setting.jsx:32–35 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
30
};
31
32
const removeApiKey = () => {
33
window.localStorage.removeItem(
'api-key'
);
34
setInput(
''
);
35
};
36
37
useEffect(() => {
38
if (modalOpen) {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected