Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dailydotdev/apps
/ onClearQuery
Function
onClearQuery
packages/webapp/components/RouterPostsSearch.tsx:62–66 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
60
};
61
62
const onClearQuery = () => {
63
return router.replace({
64
pathname: router?.pathname ? router?.pathname :
'/search'
,
65
});
66
};
67
68
if (isPhone) {
69
const { placeholder } = props;
Callers
2
onValueChanged
Function · 0.85
RouterPostsSearch
Function · 0.85
Calls
1
replace
Method · 0.80
Tested by
no test coverage detected