{"size": 197, "ext": "js", "max_stars_repo_path": "src/pages/assets/hooks/useInit.js", "max_stars_repo_name": "miutamihai/gatha-web", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/pages/assets/hooks/useInit.js", "max_issues_repo_name": "miutamihai/gatha-web", "max_issues_repo_issues_event_min_datetime": "2021-12-07T13:08:58.000Z", "max_issues_repo_issues_event_max_datetime": "2021-12-07T13:08:58.000Z", "max_forks_repo_path": "src/pages/assets/hooks/useInit.js", "max_forks_repo_name": "miutamihai/gatha-web", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 1, "max_forks_count": null, "avg_line_length": 24.625, "max_line_length": 48, "alphanum_fraction": 0.6395939086}
import { actions } from '../../asset/slices/get'
import { useDispatch } from "react-redux";

export const useInit = () => {
    const dispatch = useDispatch()
    
    dispatch(actions.attempt())
}