Revert "web: Updates to the Context and Tasks libraries from lit. (#7168)"
This reverts commit 15be83c06c
.
This commit is contained in:
4
web/src/elements/ak-locale-context/context.ts
Normal file
4
web/src/elements/ak-locale-context/context.ts
Normal file
@ -0,0 +1,4 @@
|
||||
import { createContext } from "@lit-labs/context";
|
||||
|
||||
export const localeContext = createContext<string>("locale");
|
||||
export default localeContext;
|
@ -3,7 +3,7 @@ import { AKElement } from "@goauthentik/elements/Base";
|
||||
import { PFSize } from "@goauthentik/elements/Spinner";
|
||||
import { CustomEmitterElement } from "@goauthentik/elements/utils/eventEmitter";
|
||||
|
||||
import { Task, TaskStatus } from "@lit/task";
|
||||
import { Task, TaskStatus } from "@lit-labs/task";
|
||||
import { css, html } from "lit";
|
||||
|
||||
import PFButton from "@patternfly/patternfly/components/Button/button.css";
|
||||
|
Reference in New Issue
Block a user