## Problem solved
Short description of the bug fixed or feature added
<!-- start pr-codex -->
---
## PR-Codex overview
The focus of this PR is to update dependencies and refactor provider setup in the `apps/dashboard` directory.
### Detailed summary
- Updated dependencies for `@tanstack/react-query` and `@tanstack/react-table`
- Removed unused imports and code related to `@thirdweb-dev/react`
- Refactored provider setup in `apps/dashboard/src/components/app-layouts/provider-setup.tsx` and `apps/dashboard/src/components/app-layouts/providers.tsx`
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->
13 lines
378 B
TypeScript
13 lines
378 B
TypeScript
"use client";
|
|
import { useNativeColorMode } from "hooks/useNativeColorMode";
|
|
import { ThirdwebProvider } from "thirdweb/react";
|
|
import type { ComponentWithChildren } from "types/component-with-children";
|
|
|
|
export const DashboardThirdwebProvider: ComponentWithChildren = ({
|
|
children,
|
|
}) => {
|
|
useNativeColorMode();
|
|
|
|
return <ThirdwebProvider>{children}</ThirdwebProvider>;
|
|
};
|