mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-02-16 18:52:06 +00:00
Refactor: force style consistency for pagination queries
All pagination queries now use an underscore for page_num, and page_size
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import {FC} from 'react';
|
||||
import { FC } from 'react';
|
||||
import Spinner from '../ui/Spinner';
|
||||
import CommentLoadingCardBody from '../BeerBreweryComments/CommentLoadingCardBody';
|
||||
|
||||
@@ -6,10 +6,10 @@ interface LoadingComponentProps {
|
||||
length: number;
|
||||
}
|
||||
|
||||
const LoadingComponent: FC<LoadingComponentProps> = ({length}) => {
|
||||
const LoadingComponent: FC<LoadingComponentProps> = ({ length }) => {
|
||||
return (
|
||||
<>
|
||||
{Array.from({length}).map((_, i) => (
|
||||
{Array.from({ length }).map((_, i) => (
|
||||
<CommentLoadingCardBody key={i} />
|
||||
))}
|
||||
<div className="p-1">
|
||||
|
||||
Reference in New Issue
Block a user