import { PropsWithChildren } from 'react';

import { AppStoreProvider } from '@/stores/app/app-provider';
import { WorkflowStoreProvider } from '@/stores/workflow/workflow-provider';

export default function WorkflowLayout({
  children,
}: PropsWithChildren): JSX.Element {
  return (
    <WorkflowStoreProvider>
      <AppStoreProvider>{children}</AppStoreProvider>
    </WorkflowStoreProvider>
  );
}
