Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

away with basic user #34

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

away with basic user #34

wants to merge 1 commit into from

Conversation

pjohans
Copy link
Member

@pjohans pjohans commented Dec 4, 2024

No description provided.

Copy link

@mtni mtni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Jeg har ikke været med indenover det her, så måske min kommentar bare kan ignoreres.

// const policy = useOrderPolicy({
// branchId,
// pids,
// });
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

væk?


export default function useAgencies() {
const { data, isLoading } = useData(userAgencies());
// Fetch session data stored in fbi-api
const sessionRes = useData(sessionFragments.session());
const pickupBranch = sessionRes?.data?.session?.pickupBranch;
Copy link

@mtni mtni Dec 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Skal det tilføjes? Kan det ikke hentes fra en anden hook som har det, ude i komponenten? 🤷‍♂️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants