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

Feat await gql client #152

Merged
merged 5 commits into from
Jan 17, 2025
Merged

Feat await gql client #152

merged 5 commits into from
Jan 17, 2025

Conversation

papistacoding
Copy link
Contributor

No description provided.

Copy link

vercel bot commented Jan 17, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
openlane-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 17, 2025 8:43pm
storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 17, 2025 8:43pm

@github-actions github-actions bot added the enhancement New feature or request label Jan 17, 2025
@@ -18,8 +19,13 @@ const Providers = ({ children }: ProvidersProps) => {
const [client, setClient] = useState<Client | null>(null)
const [accessToken, setAccessToken] = useState<string | null>(null)

const publicPages = ['/', '/login', '/verify', '/resend-verify', '/waitlist', '/invite']
Copy link
Member

Choose a reason for hiding this comment

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

Anyway we can have both this and the middleware pull from the same place. Seems error prone to have to update both locations

@golanglemonade golanglemonade merged commit de26d43 into main Jan 17, 2025
6 checks passed
@golanglemonade golanglemonade deleted the feat-await-gql-client branch January 17, 2025 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants