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

Use persistence for live layout #10114

Merged
merged 5 commits into from
Feb 28, 2024
Merged

Use persistence for live layout #10114

merged 5 commits into from
Feb 28, 2024

Conversation

NickM-27
Copy link
Sponsor Collaborator

No description provided.

Copy link

netlify bot commented Feb 28, 2024

Deploy Preview for frigate-docs canceled.

Name Link
🔨 Latest commit f0b0365
🔍 Latest deploy log https://app.netlify.com/sites/frigate-docs/deploys/65df3ffed721eb0007fd025f

defaultValue: any | undefined = undefined
): usePersistenceReturn {
defaultValue: S | undefined = undefined
): usePersistenceReturn<S> {
const [value, setInternalValue] = useState<any | undefined>(defaultValue);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could this be const [value, setInternalValue] = useState<S | undefined>(defaultValue);?

@hawkeye217 hawkeye217 merged commit 8072ce2 into dev Feb 28, 2024
12 checks passed
@hawkeye217 hawkeye217 deleted the persist-live-layout branch February 28, 2024 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants