Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(release): Fix release process #152

Merged
merged 1 commit into from
Jan 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading