Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
zibs committed Jan 9, 2025
1 parent 127f06b commit e846c4b
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions example/app/axis-images.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
import React, { useState } from "react";
import { SafeAreaView, ScrollView, StyleSheet, View } from "react-native";
import { DashPathEffect, useFont, useImage } from "@shopify/react-native-skia";
import {
StackedBar,
CartesianChart,
useChartPressState,
Line,
} from "victory-native";
import { useDarkMode } from "react-native-dark";
import { CartesianChart, Line } from "victory-native";
import { Text } from "example/components/Text";
import inter from "../assets/inter-medium.ttf";
import { appColors } from "../consts/colors";
Expand All @@ -23,13 +17,8 @@ const DATA = [

const ChartWithRemoteImages = () => {
const font = useFont(inter, 12);
const isDark = useDarkMode();
const [data] = useState(DATA);

const warmImage = useImage(require("../assets/warm.png"));
const medImage = useImage(require("../assets/med.png"));
const coldImage = useImage(require("../assets/cold.png"));

return (
<View style={{ flex: 1 }}>
<CartesianChart
Expand Down Expand Up @@ -75,7 +64,6 @@ const ChartWithRemoteImages = () => {

const ChartWithLocalImages = () => {
const font = useFont(inter, 12);
const isDark = useDarkMode();
const [data] = useState(DATA);

const warmImage = useImage(require("../assets/warm.png"));
Expand Down

0 comments on commit e846c4b

Please sign in to comment.