Б
Size: a a a
Б
S
А
СА
А
А
Б
const Index = ({ items }) => {
if (items.error) {
return <div> {items.error.code} {items.error.message}</div>;
}
Index.getInitialProps = async () => {
const items = await getAllItems();
return { items };
};
Б
А
NR
NR
{
path: '/playlists/:id-:alias',
component: Playlist,
exact: true,
}, {
path: '/playlists/:filter',
component: Playlists,
exact: true,
},
NN
NR
SB
S
NN
{
path: '/playlists/:id-:alias',
component: Playlist,
exact: true,
}, {
path: '/playlists/:filter',
component: Playlists,
exact: true,
},
NR
NN