fix: estaba mal el tipo de dato
This commit is contained in:
1 parent
4e36b29e4a
commit
832ad14b6a
1 file changed
+4
-2
@@ -9,8 +9,10 @@
|
|||||||
import type { UserResponseDto } from '../../../types';
|
import type { UserResponseDto } from '../../../types';
|
||||||
|
|
||||||
interface Prop {
|
interface Prop {
|
||||||
usuarios?: UserResponseDto[];
|
data: {
|
||||||
error: boolean;
|
usuarios?: UserResponseDto[];
|
||||||
|
error: boolean;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
let { data }: Prop = $props();
|
let { data }: Prop = $props();
|
||||||
|
|||||||
Reference in new issue
Block a user