import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
import { useActions, useAppState } from "../../overmind";
export const Done = () => {
    const state = useAppState();
    const actions = useActions();
    if (state.api.auth.authorized)
        actions.routing.historyPush({ location: "/explore" });
    return _jsx(_Fragment, {});
};
//# sourceMappingURL=Done.js.map