Merge pull request #457 from vector-im/dbkr/yarn_upgrade_20220708

yarn upgrade
This commit is contained in:
David Baker 2022-07-08 19:03:34 +01:00 committed by GitHub
commit 8bbce188ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 3166 additions and 3564 deletions

View file

@ -42,7 +42,7 @@
"mermaid": "^8.13.8",
"normalize.css": "^8.0.1",
"pako": "^2.0.4",
"postcss-preset-env": "^6.7.0",
"postcss-preset-env": "^7",
"re-resizable": "^6.9.0",
"react": "^17.0.0",
"react-dom": "^17.0.0",

View file

@ -71,7 +71,11 @@ type ClientProviderState = Omit<
"changePassword" | "logout" | "setClient"
> & { error?: Error };
export const ClientProvider: FC = ({ children }) => {
interface Props {
children: JSX.Element;
}
export const ClientProvider: FC<Props> = ({ children }) => {
const history = useHistory();
const [
{ loading, isAuthenticated, isPasswordlessUser, client, userName, error },

View file

@ -121,8 +121,10 @@ export const Button = forwardRef<HTMLButtonElement, Props>(
{...mergeProps(rest, filteredButtonProps)}
ref={buttonRef}
>
{children}
{variant === "dropdown" && <ArrowDownIcon />}
<>
{children}
{variant === "dropdown" && <ArrowDownIcon />}
</>
</button>
);
}

6716
yarn.lock

File diff suppressed because it is too large Load diff