mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 03:59:50 +02:00
feat: start of perforamnce
This commit is contained in:
1 parent
db4132f666
commit
7dfdf4c11b
13 files changed
+90
-50
No files matched your search
@@ -1,7 +1,11 @@
|
||||
import { assertSecret, idToRegion } from '@blitzkit/core';
|
||||
import { Button, Flex, Heading, Text } from '@radix-ui/themes';
|
||||
import { useEffect, useState } from 'react';
|
||||
import { useLocale } from '../../hooks/useLocale';
|
||||
import {
|
||||
LocaleProvider,
|
||||
useLocale,
|
||||
type LocaleAcceptorProps,
|
||||
} from '../../hooks/useLocale';
|
||||
import { App } from '../../stores/app';
|
||||
import { CURRENT_POLICIES_AGREEMENT_INDEX } from '../../stores/app/constants';
|
||||
import { LinkI18n } from '../LinkI18n';
|
||||
@@ -20,11 +24,13 @@ type Extension =
|
||||
status: 'error';
|
||||
};
|
||||
|
||||
export function Checks() {
|
||||
export function Checks({ locale }: LocaleAcceptorProps) {
|
||||
return (
|
||||
<App.Provider>
|
||||
<Content />
|
||||
</App.Provider>
|
||||
<LocaleProvider locale={locale}>
|
||||
<App.Provider>
|
||||
<Content />
|
||||
</App.Provider>
|
||||
</LocaleProvider>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user