import { CurrentNum } from "@/shared/add-one/data/__generated__/CurrentNum" ; import { AddNum } from "@/shared/add-one/data/__generated__/AddNum" ; export const selectDataCurrentNum = ( dataCurrentNum ) => { return dataCurrentNum ?. currentNum || 0 ; } ; export function selectPlusResult ( data ) { return data ?. addNum || 0 ; }