mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-05 09:48:44 +00:00
organize PremiumLock into signaled components
This commit is contained in:
1 parent
e76c885b0c
commit
b8184b0f22
5 files changed
+6
-5
No files matched your search
@@ -1 +0,0 @@
|
||||
export { default } from "./PremiumLock";
|
||||
+1
-1
@@ -19,7 +19,7 @@ const sessionSubscriptions = {
|
||||
hasActiveEliteSubscription: () => false, // if has elite or not
|
||||
};
|
||||
|
||||
export default function PremiumLock({
|
||||
export function PremiumLock({
|
||||
requiredPlan = "plus",
|
||||
plural = false,
|
||||
children,
|
||||
@@ -0,0 +1 @@
|
||||
export * from "./PremiumLock";
|
||||
@@ -1,6 +1,7 @@
|
||||
export * from "./ErrorDialog";
|
||||
export * from "./Toaster";
|
||||
export * from "./TopBar";
|
||||
export * from "./ErrorDialog";
|
||||
export * from "./PremiumLock";
|
||||
|
||||
// all the Upload stuff will depend on the API Manager Signal
|
||||
export * from "./UploadAudioButtonDialogue";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Button, Label } from "~/components";
|
||||
import { Button, Label, PremiumLock } from "~/components";
|
||||
import {
|
||||
faArrowsRotate,
|
||||
faChevronLeft,
|
||||
@@ -10,7 +10,7 @@ import Queue from "~/pages/PageEnigma/Queue/Queue";
|
||||
import { QueueNames } from "~/pages/PageEnigma/Queue/QueueNames";
|
||||
import { toEngineActions } from "~/pages/PageEnigma/Queue/toEngineActions";
|
||||
import { Switch } from "@headlessui/react";
|
||||
import PremiumLock from "~/components/PremiumLock";
|
||||
|
||||
import {
|
||||
faceDetail,
|
||||
styleStrength,
|
||||
|
||||
Reference in new issue
Block a user