Search history
This commit is contained in:
@@ -25,6 +25,7 @@ export function useCommonHooks() {
|
||||
const [searchValue, setSearchValue] = useState('');
|
||||
const [providerLabel, setProviderLabel] = useState('Google Search');
|
||||
const [providerURL, setProviderURL] = useState('https://www.google.com/search?q=');
|
||||
const [providerPrefix, setProviderPrefix] = useState('/g');
|
||||
const [currentUser, setCurrentUser] = useLocalStorage<any>({
|
||||
key: 'user',
|
||||
defaultValue: {
|
||||
@@ -77,6 +78,8 @@ export function useCommonHooks() {
|
||||
setProviderLabel,
|
||||
providerURL,
|
||||
setProviderURL,
|
||||
providerPrefix,
|
||||
setProviderPrefix,
|
||||
currentUser,
|
||||
setCurrentUser,
|
||||
currentLocation,
|
||||
|
||||
Reference in New Issue
Block a user