mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-14 17:06:39 +00:00
Chungus 2.0
This commit is contained in:
@@ -1,20 +1,7 @@
|
||||
/*
|
||||
* This file is part of a proprietary work.
|
||||
*
|
||||
* Copyright (c) 2025 Fossorial, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This file is licensed under the Fossorial Commercial License.
|
||||
* You may not use this file except in compliance with the License.
|
||||
* Unauthorized use, copying, modification, or distribution is strictly prohibited.
|
||||
*
|
||||
* This file is not licensed under the AGPLv3.
|
||||
*/
|
||||
|
||||
"use client";
|
||||
|
||||
import RemoteExitNodeContext from "@app/contexts/privateRemoteExitNodeContext";
|
||||
import { GetRemoteExitNodeResponse } from "@server/routers/private/remoteExitNode";
|
||||
import RemoteExitNodeContext from "@app/contexts/remoteExitNodeContext";
|
||||
import { GetRemoteExitNodeResponse } from "#private/routers/remoteExitNode";
|
||||
import { useState } from "react";
|
||||
import { useTranslations } from "next-intl";
|
||||
|
||||
@@ -1,21 +1,8 @@
|
||||
/*
|
||||
* This file is part of a proprietary work.
|
||||
*
|
||||
* Copyright (c) 2025 Fossorial, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This file is licensed under the Fossorial Commercial License.
|
||||
* You may not use this file except in compliance with the License.
|
||||
* Unauthorized use, copying, modification, or distribution is strictly prohibited.
|
||||
*
|
||||
* This file is not licensed under the AGPLv3.
|
||||
*/
|
||||
|
||||
"use client";
|
||||
|
||||
import PrivateSubscriptionStatusContext from "@app/contexts/privateSubscriptionStatusContext";
|
||||
import { getTierPriceSet } from "@server/lib/private/billing/tiers";
|
||||
import { GetOrgSubscriptionResponse } from "@server/routers/private/billing";
|
||||
import SubscriptionStatusContext from "@app/contexts/subscriptionStatusContext";
|
||||
import { getTierPriceSet } from "@server/lib/billing/tiers";
|
||||
import { GetOrgSubscriptionResponse } from "#private/routers/billing";
|
||||
import { useState } from "react";
|
||||
|
||||
interface ProviderProps {
|
||||
@@ -68,7 +55,7 @@ export function PrivateSubscriptionStatusProvider({
|
||||
};
|
||||
|
||||
return (
|
||||
<PrivateSubscriptionStatusContext.Provider
|
||||
<SubscriptionStatusContext.Provider
|
||||
value={{
|
||||
subscriptionStatus: subscriptionStatusState,
|
||||
updateSubscriptionStatus,
|
||||
@@ -77,7 +64,7 @@ export function PrivateSubscriptionStatusProvider({
|
||||
}}
|
||||
>
|
||||
{children}
|
||||
</PrivateSubscriptionStatusContext.Provider>
|
||||
</SubscriptionStatusContext.Provider>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -1,19 +1,6 @@
|
||||
/*
|
||||
* This file is part of a proprietary work.
|
||||
*
|
||||
* Copyright (c) 2025 Fossorial, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This file is licensed under the Fossorial Commercial License.
|
||||
* You may not use this file except in compliance with the License.
|
||||
* Unauthorized use, copying, modification, or distribution is strictly prohibited.
|
||||
*
|
||||
* This file is not licensed under the AGPLv3.
|
||||
*/
|
||||
|
||||
"use client";
|
||||
|
||||
import setGlobalColorTheme from "@app/lib/privateThemeColors";
|
||||
import setGlobalColorTheme from "@app/lib/themeColors";
|
||||
import { useTheme } from "next-themes";
|
||||
import { useEffect, useState } from "react";
|
||||
|
||||
Reference in New Issue
Block a user