refactor(stacks): migrate item view to react [BE-6629] (#1444)
This commit is contained in:
@@ -9,7 +9,7 @@ export function useVersionedStackFile({
|
||||
onLoad,
|
||||
}: {
|
||||
stackId: Stack['Id'];
|
||||
version?: string;
|
||||
version?: number;
|
||||
onLoad(content: string): void;
|
||||
}) {
|
||||
const fileQuery = useStackFile(stackId, { version }, { enabled: !!version });
|
||||
|
||||
Reference in New Issue
Block a user