Skip to content

Commit 0c52f91

Browse files
committed
formatting and sorting
1 parent 36bd05a commit 0c52f91

File tree

6 files changed

+5
-11
lines changed

6 files changed

+5
-11
lines changed

src/background.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
import browser from "webextension-polyfill";
2-
31
import "webext-dynamic-content-scripts";
4-
52
import addDomainPermissionToggle from "webext-permission-toggle";
3+
import browser from "webextension-polyfill";
64

75
(async () => {
86
addDomainPermissionToggle();
@@ -15,4 +13,4 @@ browser.runtime.onInstalled.addListener((details) => {
1513
});
1614
// browser.runtime.setUninstallURL("https://ona.com");
1715

18-
export {};
16+
export { };

src/components/forms/Button.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import classNames from "classnames";
22
import React, { forwardRef, type FC, type ForwardedRef, type ReactNode } from "react";
3-
import { FeatureFlags, useFlag } from "~hooks/use-configcat";
43

54
export type ButtonProps = {
65
type?: "primary" | "secondary" | "danger" | "danger.secondary" | "transparent";

src/components/forms/InputField.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import classNames from "classnames";
22
import React, { memo, type PropsWithChildren, type ReactNode } from "react";
3-
43
import { InputFieldHint } from "./InputFieldHint";
54

65
type Props = {

src/hooks/use-configcat.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { useConfigCatClient, useFeatureFlag, ConfigCatProvider } from 'configcat-react';
2-
import { PollingMode, createConsoleLogger, LogLevel, User } from 'configcat-js';
1+
import { createConsoleLogger, LogLevel, PollingMode, User } from 'configcat-js';
2+
import { ConfigCatProvider, useConfigCatClient, useFeatureFlag } from 'configcat-react';
33

44
const CONFIGCAT_SDK_KEY_PRODUCTION = 'configcat-sdk-1/ykHcCKiz4EKB7k23mNcvBw/ut0FmOIkA0a-Ife7zHC-qg';
55
const CONFIGCAT_SDK_KEY_DEV = 'configcat-sdk-1/ykHcCKiz4EKB7k23mNcvBw/4zALdAjwI0iIB4y4eWr-bQ';
@@ -31,4 +31,4 @@ export function useFlag(
3131
}
3232

3333
// Re-export commonly used hooks and components from configcat-react
34-
export { useConfigCatClient, useFeatureFlag, ConfigCatProvider };
34+
export { ConfigCatProvider, useConfigCatClient, useFeatureFlag };

src/utils/parse-endpoint.spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { expect } from "chai";
2-
32
import { hostToOrigin, parseEndpoint } from "./parse-endpoint";
43

54
describe("parseEndpoint", () => {

src/utils/permissions.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import browser from "webextension-polyfill";
2-
32
import { ALL_ORIGINS_WILDCARD } from "~constants";
43

54
export const canAccessAllSites = async () => {

0 commit comments

Comments
 (0)