Skip to content

Commit

Permalink
fix(release): Fix release process
Browse files Browse the repository at this point in the history
  • Loading branch information
CrispyBacon1999 committed Jan 9, 2024
1 parent 3a77b49 commit 8669d73
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@ There are 2 different hooks provided for getting values from your robot.
Returns the value at the provided key, with live updates whenver it changes.

```tsx
import { NetworkTableTypeInfos } from "ntcore-ts-client";
import { NetworkTablesTypeInfos } from "ntcore-ts-client";
import { useNTValue } from "ntcore-react";

const YourComponent = () => {
const intakeExtended = useNTValue<boolean>(
"/Intake/extended",
NetworkTableTypeInfos.kBoolean,
NetworkTablesTypeInfos.kBoolean,
false
);

Expand All @@ -83,13 +83,13 @@ Returns the value at the provided key, with live updates whenver it changes.
Also gives access to modify values, allowing you to talk to the robot over NetworkTables.

```tsx
import { NetworkTableTypeInfos } from "ntcore-ts-client";
import { NetworkTablesTypeInfos } from "ntcore-ts-client";
import { useNTState } from "ntcore-react";

const YourComponent = () => {
const [ledColors, setColors] = useNTState<boolean>(
"/LED/color",
NetworkTableTypeInfos.kString,
NetworkTablesTypeInfos.kString,
"#ffffff"
);

Expand Down

0 comments on commit 8669d73

Please sign in to comment.