Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Commit

Permalink
fix: linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
enesozturk committed Jun 4, 2022
1 parent 097ad80 commit 7fa087d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion packages/app/components/login/index.web.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { useCallback, useMemo } from "react";
import { StyleSheet } from "react-native";

import { Button, ButtonLabel } from "@showtime-xyz/universal.button";
import { Text } from "@showtime-xyz/universal.text";
import { View } from "@showtime-xyz/universal.view";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class ReactNativeWebMain {

reactNative.useTypescript({
buildConfig: [
(config, context) => {
(config) => {
config.setTsConfig({
compilerOptions: {
allowJs: true,
Expand All @@ -83,7 +83,7 @@ export class ReactNativeWebMain {
},
],
devConfig: [
(config, context) => {
(config) => {
config.setTsConfig({
compilerOptions: {
allowJs: true,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { PreviewRuntime } from "@teambit/preview";
import { ReactNativeAspect, ReactNativePreview } from "@teambit/react-native";
import { ReactNativeAspect } from "@teambit/react-native";

// create your theme and import it here
// import { ThemeCompositions } from '@my-company/my-scope.theme.theme-compositions';
Expand All @@ -10,7 +10,7 @@ export class ReactNativeWebPreviewMain {

static dependencies = [ReactNativeAspect];

static async provider([reactNative]: [ReactNativePreview]) {
static async provider() {
const reactNativeWebPreviewMain = new ReactNativeWebPreviewMain();
// uncomment the line below to register a new provider to wrap all compositions using this environment with a custom theme.
// reactNative.registerProvider([ThemeCompositions]);
Expand Down

0 comments on commit 7fa087d

Please sign in to comment.