mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 14:27:23 +00:00
feat: renamed old frontend and fixed some minor bugs
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import { useEffect, useState } from "react";
|
||||
|
||||
type TPersisntentStateReturn<T extends unknown> = [T, (val: T) => void];
|
||||
type TPersisntentStateReturn<T> = [T, (val: T) => void];
|
||||
|
||||
export const usePersistentState = <T extends unknown>(
|
||||
export const usePersistentState = <T>(
|
||||
initialValue: T,
|
||||
persistenceKey: string
|
||||
): TPersisntentStateReturn<T> => {
|
||||
|
||||
Reference in New Issue
Block a user